摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4300 题意:第一行为密码表,第二行包含暗文和明文。 qwertyuiopasdfghjklzxcvbnm qwertabcde 第二行的q在字母表里面是第17位,对应的第一行里面的第十七位j。则转换为明 阅读全文
posted @ 2018-07-10 17:00 flyer_duck 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3336 运用kmp的next数组后,利用dp滚动可以求得答案。 阅读全文
posted @ 2018-07-10 14:48 flyer_duck 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Simpsons’ Hidden Talents Problem Description Homer: Marge, I just figured out a way to discover some of the talents we weren’t aware we had.Marge: Yea 阅读全文
posted @ 2018-07-10 11:49 flyer_duck 阅读(216) 评论(0) 推荐(0) 编辑