
找规律
文章平均质量分 80
傲慢的么么forever
待到学有所成时,我会找到人生的意义。
展开
-
Fibonacci Again
Problem DescriptionThere are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2).InputInput consists of a sequence of lines, each containing an integer n. (原创 2014-04-01 19:28:41 · 511 阅读 · 0 评论 -
POJ 取石子游戏
取石子游戏Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 35918 Accepted: 12140Description有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二原创 2015-03-25 15:01:42 · 999 阅读 · 0 评论 -
HDU 1045 Fire Net
Fire NetTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7281 Accepted Submission(s): 4150Problem DescriptionSuppose that we have a sq原创 2015-05-06 15:23:27 · 410 阅读 · 0 评论 -
POJ 2531 Network Saboteur
Network SaboteurTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 9706 Accepted: 4633DescriptionA university network is composed of N computers. System administrators gathered inform原创 2015-05-07 17:40:15 · 569 阅读 · 0 评论 -
POJ 2229 Sumsets
SumsetsTime Limit: 2000MS Memory Limit: 200000KTotal Submissions: 14323 Accepted: 5699DescriptionFarmer John commanded his cows to search for different sets of numbers that sum to a given nu原创 2015-06-20 13:42:12 · 453 阅读 · 0 评论 -
POJ 1017 Packets
PacketsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 46895 Accepted: 15868DescriptionA factory produces products packed in square packets of the same height h and of the sizes 1*原创 2015-06-14 11:23:21 · 393 阅读 · 0 评论