范式
摘要:http://www.cnblogs.com/winlinglin/archive/2008/11/19/1336337.html
阅读全文
posted @
2014-10-04 11:04
wf110
阅读(247)
推荐(0) 编辑
kmp算法
摘要:1 char a[100],b[100]; 2 int next[100]; 3 void get_next(char b[],int len) 4 { 5 next[0]=-1; 6 int i=0; 7 int j=-1; 8 while(ialen)26 ...
阅读全文
posted @
2014-10-03 18:49
wf110
阅读(202)
推荐(0) 编辑
顺时针打印矩阵
摘要:1 #include "stdio.h" 2 #include 3 using namespace std; 4 #include "string.h" 5 #include "stdlib.h" 6 int num[1001][1001]; 7 typedef struct Lnode 8 ...
阅读全文
posted @
2014-10-03 17:44
wf110
阅读(237)
推荐(0) 编辑