上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: Constructing Roads There are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to e 阅读全文
posted @ 2018-11-12 23:05 suvvm 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Dividing Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the ma 阅读全文
posted @ 2018-11-12 12:01 suvvm 阅读(400) 评论(0) 推荐(0) 编辑
摘要: FATE 最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后一级。现在的问题是,xhd升掉最后一级还需n的经验值,xhd还留有m的忍耐度,每杀一个怪xhd会得到相应的经验,并减掉相应的忍耐度。当忍耐 阅读全文
posted @ 2018-11-12 08:59 suvvm 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Robberies The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because the 阅读全文
posted @ 2018-11-11 23:55 suvvm 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 1040 Longest Symmetric String (25 分) Given a string, you are supposed to output the length of the longest symmetric sub-string. For example, given Is 阅读全文
posted @ 2018-11-10 20:57 suvvm 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Cash Machine A Bank plans to install a machine for cash withdrawal. The machine is able to deliver appropriate @ bills for a requested cash amount. Th 阅读全文
posted @ 2018-11-09 20:15 suvvm 阅读(1132) 评论(5) 推荐(3) 编辑
摘要: Bone Collector Bone Collector Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of 阅读全文
posted @ 2018-11-08 21:52 suvvm 阅读(243) 评论(0) 推荐(0) 编辑
摘要: Common Subsequence A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, 阅读全文
posted @ 2018-11-08 19:03 suvvm 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 悼念512汶川大地震遇难同胞 急!灾区的食物依然短缺! 为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。 请问:你用有限的资金最多能采购多少公斤粮食呢? 后记: 人生是一个充满了变数 阅读全文
posted @ 2018-11-07 23:50 suvvm 阅读(532) 评论(0) 推荐(0) 编辑
摘要: Super Jumping! Jumping! Jumping! Super Jumping! Jumping! Jumping! Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very pop 阅读全文
posted @ 2018-11-06 23:19 suvvm 阅读(230) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页