码迷,mamicode.com
首页 >  
搜索关键字:baltic2014    ( 12个结果
【字符串哈希】bzoj3916 [Baltic2014]friends
枚举断点,哈希判断。#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
【BZOJ】3916: [Baltic2014]friends
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
12条   上一页 1 2
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!