摘要: https://vjudge.net/problem/URAL-1297 题意: 给出一个字符串求最长回文子串 代码: 阅读全文
posted @ 2017-09-26 21:46 luckilzy 阅读(323) 评论(0) 推荐(0) 编辑
摘要: http://www.spoj.com/problems/SUBST1/ SUBST1 - New Distinct Substrings #suffix-array-8 #suffix-array-8 Given a string, we need to find the total number 阅读全文
posted @ 2017-09-26 20:38 luckilzy 阅读(322) 评论(0) 推荐(0) 编辑
摘要: Milk Patterns Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 16430 Accepted: 7252 Case Time Limit: 2000MS Description Farmer John has noti 阅读全文
posted @ 2017-09-26 20:09 luckilzy 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Musical Theme Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 30941 Accepted: 10336 Description A musical melody is represented as a sequen 阅读全文
posted @ 2017-09-26 18:24 luckilzy 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 题意: 房间着火了,里面有n件物品,每件物品有营救需要的时间t,被烧坏的最晚时间d,他的价值p,问能得到的最大价值,并且输出营救出来的物品编号 代码: 阅读全文
posted @ 2017-09-26 09:31 luckilzy 阅读(410) 评论(0) 推荐(0) 编辑