杭电OJ练习
文章平均质量分 62
蜗牛wo
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDOJ_1001_Sum Problem
题目:In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + … + n.Input 杭电OJ1001原创 2017-09-04 20:04:05 · 298 阅读 · 0 评论 -
HDOJ_1002_A + B Problem II
题目:I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. HDOJ1002,易错点,解题思路。原创 2017-09-05 22:24:13 · 306 阅读 · 0 评论 -
HDOJ_1720_A+B Coming
题目:Many classmates said to me that A+B is must needs. If you can’t AC this problem, you would invite me for night meal. ^_^Input Input may contain multiple test cases. Each case contains A and B in o原创 2017-09-16 14:53:53 · 327 阅读 · 0 评论 -
HDOJ_1003_Max Sum
题目:Given a sequence a[1],a[2],a[3]……a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5 + 4 = 14. 杭电oj_1003_max sum原创 2017-09-09 14:23:04 · 288 阅读 · 0 评论 -
HDOJ_1004_Let the Balloon Rise
HDOJ_1004_Let the Balloon Rise原创 2017-09-09 14:33:43 · 326 阅读 · 0 评论 -
HDOJ_1005_Number Sequence
题目:A number sequence is defined as follows: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). 杭电oj1005原创 2017-09-09 15:44:52 · 367 阅读 · 0 评论 -
HDOJ_2005_第几天
杭电oj2005, 题目: 给定一个日期,输出这个日期是该年的第几天。Input 输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成原创 2017-09-09 22:12:20 · 731 阅读 · 2 评论
分享