2016年3月1日
摘要: Problem Description Giving the N, can you tell me the answer of F(N)?Input Each test case contains a single integer N(1<=N<=10^9). The input... 阅读全文
posted @ 2016-03-01 16:52 cnxo 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Problem Description Fibonacci数列,定义如下: f(1)=f(2)=1 f(n)=f(n-1)+f(n-2) n>=3。 计算第n项Fibonacci数值。Input 输入第一行为一个整数N,接下来N行为整数Pi(10){ int ... 阅读全文
posted @ 2016-03-01 15:51 cnxo 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Problem Description HDU ACM集训队的队员在暑假集训时经常要讨论自己在做题中遇到的问题.每当面临自己解决不了的问题时,他们就会围坐在一张圆形的桌子旁进行交流,经过大家的讨论后一般没有解决不了的问题,这也只有HDU ACM集训队特有的圆桌会议,有一天你也可以进... 阅读全文
posted @ 2016-03-01 15:39 cnxo 阅读(92) 评论(0) 推荐(0) 编辑