随笔分类 -  大数

摘要:1stingTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2444Accepted Submission(s): 979Problem DescriptionYou will be given a string which only contains ‘1’; You can merge two adjacent ‘1’ to be ‘2’, or leave the ‘1’ there. Surly, you may get many di 阅读全文
posted @ 2013-08-26 18:14 我家小破孩儿 阅读(170) 评论(0) 推荐(0)
摘要:Hat's FibonacciTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5445Accepted Submission(s): 1820Problem DescriptionA Fibonacci sequence is calculated by adding the previous two members the sequence, with the first two members being both 1.F(1) = 阅读全文
posted @ 2013-08-19 16:28 我家小破孩儿 阅读(134) 评论(0) 推荐(0)
摘要:Children’s QueueTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 8780Accepted Submission(s): 2789 Problem DescriptionThere are many students in PHT School. One day, the headmaster whose name is PigHeader wanted all students stand in a line. He pres 阅读全文
posted @ 2013-07-31 15:45 我家小破孩儿 阅读(151) 评论(0) 推荐(0)