随笔分类 -  ACM—KMP

摘要:Number SequenceProblem DescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 2 #include 3 using na... 阅读全文
posted @ 2015-09-01 21:32 御心飞行 阅读(185) 评论(0) 推荐(0)
摘要:#include using namespace std;int f[20];#define MAX 20typedef struct{ char ch[MAX]; int len;}_string;int _length(_string *s){ int i=0; whil... 阅读全文
posted @ 2015-09-01 20:20 御心飞行 阅读(135) 评论(0) 推荐(0)