题目链接:click here~~
题目大意:
In the Fibonacci integer sequence, F0 = 0, F1 = 1, and
Fn = Fn ? 1 + Fn ? 2 for
n ≥ 2. For example, the first ten terms of the Fibonacci sequence are:
0, 1, 1, 2, 3,...
分类:
其他好文 时间:
2015-04-09 22:03:58
阅读次数:
141
CodeForces 185A. Plant(矩阵快速幂)...
分类:
其他好文 时间:
2015-04-08 19:54:17
阅读次数:
210
链接 :click here~~
题意:
A sequence Sn is defined as:
Where a, b, n, m are positive integers.┌x┐is the ceil of x. For example, ┌3.14┐=4. You are to calculate Sn.
You, a top coder, say: So eas...
分类:
其他好文 时间:
2015-04-08 11:01:02
阅读次数:
112
题目链接:http://poj.org/problem?id=3070In the Fibonacci integer sequence,F0= 0,F1= 1, andFn=Fn? 1+Fn? 2forn≥ 2. For example, the first ten terms of the Fi...
分类:
其他好文 时间:
2015-04-08 00:40:52
阅读次数:
167
题意:在一条布满地雷的路上,你现在的起点在1处。在N个点处布有地雷,1 7 #include 8 #include 9 #include10 #include11 using namespace std;12 13 struct Matrix14 {15 double mat[2][2];1...
分类:
其他好文 时间:
2015-04-08 00:38:28
阅读次数:
159
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1757Lele now is thinking about a simple function f(x).If x = 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 *...
分类:
其他好文 时间:
2015-04-07 23:20:44
阅读次数:
138
HDU 4291 A Short problem(矩阵快速幂+循环节)...
分类:
其他好文 时间:
2015-04-07 17:44:09
阅读次数:
93
竣付通-中国最专业的在线支付平台,支持充值卡,游戏点卡,网银等支付,让你随时随地享受在线支付的快乐!详细请加Q:2990968116去年的国际邀请赛每售出一份互动指南,总奖金就会增加2.50美金。竣付通互动指南上线第一天,总奖金就突破100万美元,上线第三天,已经超越2013年的287万美元的最高纪...
分类:
其他好文 时间:
2015-04-07 11:47:16
阅读次数:
123
刚打完川大邀请赛回来,这次打得非常糟糕,两场爆零,虽然对心情略有影响,不过如今的我早已能轻松承受这种失败,正如周杰伦在《三年二班》里唱的,“没关系,再继续努力”。我觉得这两场比赛对我的意义不是拿个好名次让简历上好看点,虽然我之前是这么想的,但是现在我才发现,它们的真正意义在于让我知道是否走偏了路.....
分类:
其他好文 时间:
2015-04-06 20:16:30
阅读次数:
105