摘要: Description Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little 阅读全文
posted @ 2016-08-12 21:46 shadervio 阅读(133) 评论(1) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1159 题目大意:给定两个字符串,求出两个字符串最大公共字符串。 一开始的话是没有什么思路的,后来除了借鉴书上p275《算法竞赛—入门经典》和某位博主的详细讲解,才算是明白了 借鉴链接:http://bl 阅读全文
posted @ 2016-08-12 21:39 shadervio 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4508 解题思路:这是一道完全背包问题,与01背包不同的是,每件物品可以取多次。 参考链接:http://www.cnblogs.com/gongxijun/archive/2013/08/08/3246 阅读全文
posted @ 2016-08-12 21:34 shadervio 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Description “Point, point, life of student!” This is a ballad(歌谣)well known in colleges, and you must care about your score in this exam too. How many 阅读全文
posted @ 2016-08-12 21:21 shadervio 阅读(172) 评论(0) 推荐(0) 编辑