摘要: 方法:遍历算法 Problem Description The Princess has been abducted by the BEelzebub feng5166, our hero Ignatius has to rescue our pretty Princess. Now he gets 阅读全文
posted @ 2017-03-25 11:19 郑哲 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 方案:二分查找+动态规划 Problem Description JGShining's kingdom consists of 2n(n is no more than 500,000) small cities which are located in two parallel lines.Ha 阅读全文
posted @ 2017-03-25 10:01 郑哲 阅读(218) 评论(0) 推荐(0) 编辑