摘要: 1 //就是字符串和它的逆串最大连续公共字串 2 3 #include<stdio.h> 4 #include<string.h> 5 #include<stdlib.h> 6 char a[100]; 7 char b[100]; 8 int c[100][100]; 9 10 int main()11 {12 int n,i,j,k,t,p;13 scanf("%d",&n);14 while(n--)15 {16 scanf("%s",a);17 t=strlen(a);18 for(i=0;i<t 阅读全文
posted @ 2013-04-12 17:01 萧凡客 阅读(156) 评论(0) 推荐(0) 编辑