摘要: DescriptionThe archaeologists are going to decipher a very mysterious ``language". Now, they know many language patterns; each pattern can be treated ... 阅读全文
posted @ 2015-08-28 16:37 Kirai 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1358PeriodTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submissi... 阅读全文
posted @ 2015-08-28 13:07 Kirai 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3065题都懒得粘了…好的AC自动机模版真难找。也许是自己太水 1 #include 2 #include 3 #include 4 #include 5 #include 6 #in... 阅读全文
posted @ 2015-08-27 21:02 Kirai 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=2406DescriptionGiven two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "de... 阅读全文
posted @ 2015-08-26 20:22 Kirai 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2066一个人的旅行Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submissi... 阅读全文
posted @ 2015-08-26 19:50 Kirai 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1879继续畅通工程Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submissi... 阅读全文
posted @ 2015-08-26 19:45 Kirai 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=2503DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a ... 阅读全文
posted @ 2015-08-26 19:23 Kirai 阅读(175) 评论(0) 推荐(0) 编辑
摘要: What Are You Talking AboutTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 102400/204800 K (Java/Others)Total Submission(s): 17546Accepted Submiss... 阅读全文
posted @ 2015-08-26 11:26 Kirai 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3746Cyclic NacklaceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total... 阅读全文
posted @ 2015-08-26 10:13 Kirai 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2087剪花布条Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission... 阅读全文
posted @ 2015-08-25 22:00 Kirai 阅读(158) 评论(0) 推荐(0) 编辑