摘要:
#include int main(){ while(1) { int i, n; int maxday, maxvalue = -1; scanf("%d", &n); if (n == 0) break; for ... 阅读全文
posted @ 2015-07-19 11:20
Fighting_Heart
阅读(145)
评论(0)
推荐(0)
摘要:
矩阵快速幂首先我是用暴力DFS算了一下前20项、找到规律F(n)=F(n-1)+F(n-3)+F(n-4)。接下来运用矩阵快速幂。#include#include#include#includeusing namespace std;int n;int m;int R,C;struct Matrix... 阅读全文
posted @ 2015-07-19 11:07
Fighting_Heart
阅读(159)
评论(0)
推荐(0)

浙公网安备 33010602011771号