枚举断点,哈希判断。#includeusing namespace std;typedef unsigned long long ull;ull hs,hs1,hs2,seeds[1000010],hsgoal;int n;int del=-1;char s[2000002],s2[2000002]...
分类:
其他好文 时间:
2015-03-30 11:01:28
阅读次数:
228
http://www.lydsy.com/JudgeOnline/problem.php?id=3916#include using namespace std;int n, ans[3]; char s[2000005];void work(int now) { int l=1, r=n-(n>>...
分类:
其他好文 时间:
2015-03-27 23:39:01
阅读次数:
159