摘要: Description A number of students are members of a club that travels annually to exotic locations. Their destinations in the past have included Indiana 阅读全文
posted @ 2017-08-07 21:20 浅忆~ 阅读(355) 评论(0) 推荐(0) 编辑
摘要: Problem Description N个气球排成一排,从左到右依次编号为1,2,3....N.每次给定2个整数a b(a <= b),lele便为骑上他的“小飞鸽"牌电动车从气球a开始到气球b依次给每个气球涂一次颜色。但是N次以后lele已经忘记了第I个气球已经涂过几次颜色了,你能帮他算出每个气 阅读全文
posted @ 2017-08-07 20:31 浅忆~ 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Description The little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give names to their newly 阅读全文
posted @ 2017-08-07 17:37 浅忆~ 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 详细点击一下链接(背包九讲) http://love-oriented.com/pack/Index.html#sec1 以下内容,有些自己想法,有些摘录 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 阅读全文
posted @ 2017-08-07 17:20 浅忆~ 阅读(243) 评论(0) 推荐(0) 编辑
摘要: time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per test 1 second time limit p 阅读全文
posted @ 2017-08-06 18:45 浅忆~ 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). You 阅读全文
posted @ 2017-08-06 15:10 浅忆~ 阅读(169) 评论(0) 推荐(0) 编辑
摘要: time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per test 1 second time limit p 阅读全文
posted @ 2017-08-05 20:31 浅忆~ 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 Input 第1行:大数A 第2行:大数B (A,B的长度 <=  阅读全文
posted @ 2017-08-05 20:22 浅忆~ 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 输入2个正整数A,B,求A与B的最大公约数。 输入2个正整数A,B,求A与B的最大公约数。 输入2个正整数A,B,求A与B的最大公约数。 Input 2个数A,B,中间用空格隔开。(1<= A,B <= 10^9) Output 输出A与B的最大公约数。 Input示例 30 105 Output示 阅读全文
posted @ 2017-08-05 20:17 浅忆~ 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 给出长度为N的数组,找出这个数组的最长递增子序列。(递增子序列是指,子序列的元素是递增的) 例如:5 1 6 8 2 4 5 10,最长递增子序列是1 2 4 5 10。 给出长度为N的数组,找出这个数组的最长递增子序列。(递增子序列是指,子序列的元素是递增的) 例如:5 1 6 8 2 4 5 1 阅读全文
posted @ 2017-08-05 20:14 浅忆~ 阅读(114) 评论(0) 推荐(0) 编辑