随笔分类 -  ACM—大数

摘要:How Many Fibs?点我Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5158Accepted Submission(s): 2007Pr... 阅读全文
posted @ 2015-07-26 10:58 御心飞行 阅读(563) 评论(0) 推荐(0)
摘要:1216: 斐波那契数列时间限制: 1 Sec内存限制: 128 MB点我题目描述Fibonacci数列,定义如下:f(1)=f(2)=1f(n)=f(n-1)+f(n-2) n>=3计算第n项Fibonacci数值。输入输入第一行为一个整数n(1 2 #include 3 #include 4... 阅读全文
posted @ 2015-07-25 11:46 御心飞行 阅读(808) 评论(0) 推荐(0)
摘要:Big NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5857Accepted Submission(s): 4093点我Proble... 阅读全文
posted @ 2015-06-26 17:03 御心飞行 阅读(639) 评论(0) 推荐(0)
摘要:字串数Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3581Accepted Submission(s): 878点我Problem Descri... 阅读全文
posted @ 2015-06-26 12:44 御心飞行 阅读(465) 评论(0) 推荐(0)
摘要:Problem DescriptionA sequence consisting of one digit, the number 1 is initially written into a computer. At each successive time step, the computer s... 阅读全文
posted @ 2015-05-18 17:21 御心飞行 阅读(200) 评论(0) 推荐(0)
摘要:Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.InputThe first line of ... 阅读全文
posted @ 2015-05-10 23:17 御心飞行 阅读(265) 评论(0) 推荐(0)