摘要:
源代码: #include<cstdio> #include<iostream> using namespace std; string s1,s2; int m,n,k(0),next[1001]; //在Next数组中,存储的是匹配失败后,上一位应该跳跃到的节点编号。 int main() { 阅读全文
posted @ 2016-02-15 21:44
【機關】
阅读(301)
评论(0)
推荐(0)
摘要:
源代码: #include<cstdio> int n; void x1(int x,int y) { x-=2; //利用规律:[F(n),F(n-1)]=[F(n-1),F(n-2)]*[1,1/1,0]。 int t1=1,t2=0,t3=0,t4=1; //在矩阵乘法中,[1,1/1,1]的 阅读全文
posted @ 2016-02-15 12:11
【機關】
阅读(415)
评论(0)
推荐(0)

浙公网安备 33010602011771号