
字符串hash
文章平均质量分 62
NineFailure
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #321 (Div. 2)E 线段树+字符串hash
E. Kefa and Watch time limit per test1.5 seconds memory limit per test256 megabytes inputstandard input outputstandard output One day Kefa the parrot was walking down the street as he was on the w原创 2017-02-09 01:51:08 · 311 阅读 · 0 评论 -
HDU4886 (8/600)
After improving the marketing strategy, TIANKENG has made a fortune and he is going to step into the status of TuHao. Nevertheless, TIANKENG wants his restaurant to go international, so he decides to n原创 2017-06-09 22:54:58 · 362 阅读 · 0 评论 -
HDU - 4821(95/600)字符串水题
Given a string S and two integers L and M, we consider a substring of S as “recoverable” if and only if (i) It is of length M*L; (ii) It can be constructed by concatenating M “diversified” subs原创 2017-08-16 18:16:59 · 871 阅读 · 0 评论 -
HDU6138(96/600)二分+贪心+hash
Problem Description The Eternal Fleet was built many centuries ago before the time of Valkorion by an unknown race on the planet of Iokath. The fate of the Fleet’s builders is unknown but their legac原创 2017-08-18 12:41:59 · 576 阅读 · 0 评论