摘要: 一直忘了放模板。。。 把两个串连起来做个后缀自动机对每个字串统计答案就行了。 阅读全文
posted @ 2017-02-18 23:53 SD_le 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 1 2 #include 3 #include 4 #include 5 #include 6 #include 7 #define ll long long 8 #define N 2000005 9 using namespace std; 10 const int now=1mp; 47 int g(int x) 48 { 49 if(xmmp; 61 ll ... 阅读全文
posted @ 2017-02-18 22:54 SD_le 阅读(421) 评论(0) 推荐(0) 编辑
重置按钮