- 博客(7)
- 收藏
- 关注
原创 hdu.Tick and Tick
Problem DescriptionThe three hands of the clock arerotating every second and meeting each other many times everyday. Finally, theyget bored of this and each of them would like to stay away from the
2018-01-31 18:59:35 330
原创 hdu.Number Sequence
Problem DescriptionA number sequence is defined asfollows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calculate the value of f(n).InputTh
2018-01-31 17:02:19 258
原创 hdu.Let the Balloon Rise
Problem DescriptionContest time again! How excited it isto see balloons floating around. But to tell you a secret, the judges' favoritetime is guessing the most popular problem. When the contest is
2018-01-31 13:31:32 214
原创 hdu.Max Sum
Problem DescriptionGiven a sequencea[1],a[2],a[3]......a[n], your job is to calculate the max sum of asub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is6 + (-1) + 5 + 4
2018-01-31 13:03:09 229
原创 hdu.A + B Problem II
Problem DescriptionI have a very simple problem for you.Given two integers A and B, your job is to calculate the Sum of A + B. InputThe first line of the input contains aninteger T(1<=T<=20
2018-01-30 23:56:25 291
原创 hdu.Sum Problem
Problem DescriptionHey, welcome to HDOJ(Hangzhou DianziUniversity Online Judge).In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n. InputThe input will consist of a se
2018-01-30 21:51:29 256
原创 HDU->A + B Problem
Problem DescriptionCalculate A + B. InputEach line will contain two integers A and B. Process to end of file. OutputFor each case, output A + B in one line. S
2018-01-30 20:46:29 147
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人