AC自动机
Heristor
这个作者很懒,什么都没留下…
展开
-
【Codeforces 163E】E-Government
题目描述The best programmers of Embezzland compete to develop a part of the project called "e-Government"— the system of automated statistic collecting and press analysis.We know that any of the k citizen原创 2016-01-20 15:34:23 · 748 阅读 · 0 评论 -
【Hdu 4117】GRE Words
Problem DescriptionRecently George is preparing for the Graduate Record Examinations (GRE for short). Obviously the most important thing is reciting the words.Now George is working on a word list con原创 2016-01-21 21:35:13 · 545 阅读 · 0 评论 -
【Bzoj 2434】[NOI 2011] 阿狸的打字机
Description 阿狸喜欢收藏各种稀奇古怪的东西,最近他淘到一台老式的打字机。 打字机上只有28个按键,分别印有26个小写英文字母和'B'、'P'两个字母。经阿狸研究发现,这个打字机是这样工作的:l 输入小写字母,打字机的一个凹槽中会加入这个字母(这个字母加在凹槽的最后)。l 按一下印有'B'的按键,打字机凹槽中最后一个字母会消失。l 按一下印有'P'的按键,打字原创 2016-01-23 23:21:09 · 428 阅读 · 0 评论