上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页

2017年9月16日

摘要: 设计函数求一元多项式的导数。(注:xn(n为整数)的一阶导数为n*xn-1。) 输入格式:以指数递降方式输入多项式非零项系数和指数(绝对值均为不超过1000的整数)。数字间以空格分隔。 输出格式:以与输入相同的格式输出导数多项式非零项的系数和指数。数字间以空格分隔,但结尾不能有多余空格。注意“零多项 阅读全文
posted @ 2017-09-16 10:14 Annetree 阅读(183) 评论(0) 推荐(0)
 
摘要: 卡拉兹(Callatz)猜想已经在1001中给出了描述。在这个题目里,情况稍微有些复杂。 当我们验证卡拉兹猜想的时候,为了避免重复计算,可以记录下递推过程中遇到的每一个数。例如对n=3进行验证的时候,我们需要计算3、5、8、4、2、1,则当我们对n=5、8、4、2进行验证的时候,就可以直接判定卡拉兹 阅读全文
posted @ 2017-09-16 09:44 Annetree 阅读(122) 评论(0) 推荐(0)

2017年8月23日

摘要: 题目传送: Hybrid Crystals Problem Description > Kyber crystals, also called the living crystal or simply the kyber, and known as kaiburr crystals in ancie 阅读全文
posted @ 2017-08-23 16:32 Annetree 阅读(144) 评论(0) 推荐(0)
 
摘要: 题目传送:Killer Names Problem Description > Galen Marek, codenamed Starkiller, was a male Human apprentice of the Sith Lord Darth Vader. A powerful Force- 阅读全文
posted @ 2017-08-23 15:05 Annetree 阅读(154) 评论(0) 推荐(0)

2017年8月21日

摘要: Problem Description "You shall not pass!"After shouted out that,the Force Staff appered in CaoHaha's hand.As we all know,the Force Staff is a staff wi 阅读全文
posted @ 2017-08-21 13:47 Annetree 阅读(522) 评论(0) 推荐(0)
 
摘要: 题目传送:http://acm.hdu.edu.cn/showproblem.php?pid=6152 Problem Description It is well known that small groups are not conducive of the development of a t 阅读全文
posted @ 2017-08-21 13:36 Annetree 阅读(250) 评论(2) 推荐(0)

2017年8月16日

摘要: Problem Description HazelFan is given two positive integers a,b, and he wants to calculate amodb. But now he forgets the value of b and only remember 阅读全文
posted @ 2017-08-16 10:08 Annetree 阅读(204) 评论(0) 推荐(0)

2017年8月15日

摘要: Bran and his older sister Arya are from the same house. Bran like candies so much, so Arya is going to give him some Candies. At first, Arya and Bran 阅读全文
posted @ 2017-08-15 23:27 Annetree 阅读(184) 评论(0) 推荐(0)
 
摘要: Problem Description This is Kolakosiki sequence: 1,2,2,1,1,2,1,2,2,1,2,2,1,1,2,1,1,2,2,1……. This sequence consists of 1 and 2, and its first term equa 阅读全文
posted @ 2017-08-15 17:11 Annetree 阅读(199) 评论(0) 推荐(0)
 
摘要: Problem Description You are given a permutation a from 0 to n−1 and a permutation b from 0 to m−1.Define that the domain of function f is the set of i 阅读全文
posted @ 2017-08-15 11:34 Annetree 阅读(302) 评论(0) 推荐(0)

2017年8月14日

摘要: Problem Description Talented Mr.Tang has n strings consisting of only lower case characters. He wants to charge them with Balala Power (he could chang 阅读全文
posted @ 2017-08-14 17:05 Annetree 阅读(203) 评论(0) 推荐(0)
 
摘要: Problem Description Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at 阅读全文
posted @ 2017-08-14 10:40 Annetree 阅读(183) 评论(0) 推荐(0)

2017年8月11日

摘要: Problem Description We define the distance of two strings A and B with same length n isdisA,B=∑i=0n−1|Ai−Bn−1−i|The difference between the two charact 阅读全文
posted @ 2017-08-11 10:53 Annetree 阅读(278) 评论(0) 推荐(0)
 
摘要: Problem Description Give an array A, the index starts from 1.Now we want to know Bi=maxi∤jAj , i≥2. Input The first line of the input gives the number 阅读全文
posted @ 2017-08-11 10:14 Annetree 阅读(183) 评论(0) 推荐(0)
 
摘要: Problem Description The school set up three elective courses, assuming that these courses are A, B, C. N classes of students enrolled in these courses 阅读全文
posted @ 2017-08-11 10:07 Annetree 阅读(252) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页