Evanyou Blog 彩带

随笔分类 -  字符串——hash

摘要:题目传送门 A Horrible Poem 题目描述 Bytie boy has to learn a fragment of a certain poem by heart. The poem, following the best lines of modern art, is a long s 阅读全文
posted @ 2018-08-10 19:53 HolseLee 阅读(318) 评论(0) 推荐(0)
摘要:其实也并不是什么特别难的算法,但是我个人实在是不太喜欢字符串之类的东西(字符串神马的真的是麻烦),于是一直拖着不想看,然后模板题之类的也懒得做。 Hash的思想其实也没什么复杂的,就是给定一系列字符串以后,根据字符串的特点(长度、只有数字、只有小写字母、只有大写字母等等)选择一个适当的值,将所有的字 阅读全文
posted @ 2017-11-05 19:59 HolseLee 阅读(193) 评论(0) 推荐(0)