HDOJ
Frank__Chen
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdoj1013(大数,九余数算法)
Digital RootsProblem DescriptionThe digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. ...原创 2018-10-29 20:55:00 · 758 阅读 · 0 评论 -
hdoj1005(循环,找规律)
Problem DescriptionA 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).InputThe inp...原创 2018-09-27 22:51:02 · 311 阅读 · 0 评论 -
hdoj1004(查找众多字符串中个数最多的字符串)
Let the Balloon Rise.最近开始刷hdoj,想通过写博客做做笔记,记录写过代码。Problem DescriptionContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is ...原创 2018-09-27 12:15:23 · 294 阅读 · 0 评论 -
c++ 根据生产日期,保质期求出过期时间
第4关:计算日期挑战任务我们吃的食物都有保质期,现在食品监督管理局想要制作一个能准确计算食品过期日期的小程序,需要请你来进行设计。例如:A食品在2018年1月1日生产,保质期是20天,则它的过期日期在2018年1月21日。编程要求补全函数string getDate(string releaseDate,int day)其中releaseDate表示食品出厂日期day表示保质期...原创 2018-11-01 11:07:01 · 2677 阅读 · 0 评论 -
hdoj1010 奇偶剪枝+DFS
Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 151082 Accepted Submission(s): 40265Problem DescriptionThe doggie f...原创 2018-11-08 11:07:56 · 242 阅读 · 0 评论 -
hdoj1003 DP
Max SumTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 306494 Accepted Submission(s): 72850Problem DescriptionGiven a sequence a[1],a...原创 2018-12-08 23:58:28 · 263 阅读 · 0 评论 -
hdoj1014 互质
Uniform GeneratorTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 35023 Accepted Submission(s): 13939 Problem DescriptionComputer si...原创 2018-12-06 14:43:27 · 261 阅读 · 0 评论
分享