摘要: struct Matrix { LL mat[MAXN][MAXN]; int r,c; Matrix (int r = 0 ,int c = 0) { init(r,c); } void init(int r = 0,int c = 0) { this -> r = r; this -> c = 阅读全文
posted @ 2016-01-29 15:03 Commence 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 模板: struct Ac_Automation { int ch[MAXNNODE][SIGMA_SIZE]; int val[MAXNNODE]; int fail[MAXNNODE],last[MAXNNODE]; bool symbol[MAXNNODE]; int sz; Ac_Autom 阅读全文
posted @ 2016-01-29 14:53 Commence 阅读(453) 评论(0) 推荐(0) 编辑