
Hash哈希
文章平均质量分 88
cloudy_happy
像我这样优秀的人,不该平凡过一生
展开
-
poj3461 && hdu1686 Oulipo KMP && HASH哈希
Oulipo The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book: Tout avait Pair normal, m...原创 2018-08-18 23:33:26 · 191 阅读 · 0 评论 -
HDU4080 Stammering Aliens 二分+哈希
Stammering Aliens Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1939 Accepted Submission(s): 640 Dr. Ellie Arroway has established con...原创 2018-08-19 10:34:45 · 580 阅读 · 0 评论 -
poj1200 Crazy Search 哈希hash
Crazy Search Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 33005 Accepted: 9063 Description Many people like to solve hard puzzles some of which may lead them to madne...原创 2018-08-19 11:05:05 · 166 阅读 · 0 评论 -
杭电多校Day7 1001 A + B = C
思路 我们让a或b和c的长度相同,然后c减去a或b,那么得到的就一定包含b或a,hash检测一下就好了 比如a=12223 b=1112222 c=123342222 那么我们就可以变成a=122230000 b=11122222 c=123342222 这样 c-a=11122222显然是包含b的,不过我们要先去掉abc的后导零 #include<bi...原创 2019-08-15 17:22:07 · 154 阅读 · 0 评论