- 博客(7)
- 收藏
- 关注
原创 hdu.Tick and Tick
Problem Description The 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 312
原创 hdu.Number Sequence
Problem Description A 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). Input Th
2018-01-31 17:02:19 221
原创 hdu.Let the Balloon Rise
Problem Description Contest 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 199
原创 hdu.Max Sum
Problem Description Given 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 214
原创 hdu.A + B Problem II
Problem Description I have a very simple problem for you.Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line of the input contains aninteger T(1<=T<=20
2018-01-30 23:56:25 277
原创 hdu.Sum Problem
Problem Description Hey, welcome to HDOJ(Hangzhou DianziUniversity Online Judge). In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n. Input The input will consist of a se
2018-01-30 21:51:29 240
原创 HDU->A + B Problem
Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B in one line. S
2018-01-30 20:46:29 136
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人