摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 void kmp_pre(char x[], int m, int Next[]) 7 { 8 int i, j; 9 j = Next[0] = -1; 10 i = 0; 11 while (i = m) 35 ... 阅读全文
posted @ 2018-07-18 20:56 zzuli风尘 阅读(201) 评论(0) 推荐(0) 编辑
摘要: print(x or y) """x or y ; x 为 true ,则返回x ,否则返回flase“”“” and 则相反 优先级比较:not > and > or s = s[0:5:2] #开始位置下标,结束位置下标,每次跳的个数 阅读全文
posted @ 2018-07-18 20:55 zzuli风尘 阅读(115) 评论(0) 推荐(0) 编辑