摘要: 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-13 15:21 踮起脚望天 阅读(322) 评论(0) 推荐(0) 编辑
摘要: Description A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = <x1, x2, ..., xm 阅读全文
posted @ 2016-08-10 20:43 踮起脚望天 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 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-10 20:41 踮起脚望天 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the m 阅读全文
posted @ 2016-08-09 10:58 踮起脚望天 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Description Whuacmers use coins.They have coins of value A1,A2,A3...An Silverland dollar. One day Hibix opened purse and found there were some coins. 阅读全文
posted @ 2016-08-08 20:44 踮起脚望天 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Description 对于吃货来说,过年最幸福的事就是吃了,没有之一! 但是对于女生来说,卡路里(热量)是天敌啊! 资深美女湫湫深谙“胖来如山倒,胖去如抽丝”的道理,所以她希望你能帮忙制定一个食谱,能使她吃得开心的同时,不会制造太多的天敌。 当然,为了方便你制作食谱,湫湫给了你每日食物清单,上面描 阅读全文
posted @ 2016-08-08 20:28 踮起脚望天 阅读(545) 评论(0) 推荐(0) 编辑
摘要: Description A snail is at the bottom of a 6-foot well and wants to climb to the top. The snail can climb 3 feet while the sun is up, but slides down 1 阅读全文
posted @ 2016-08-06 16:06 踮起脚望天 阅读(318) 评论(0) 推荐(0) 编辑
摘要: Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as d 阅读全文
posted @ 2016-08-06 10:46 踮起脚望天 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Description 有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二是可以在两堆中同时取走相同数量的石子。最后把石子全部取完者为胜者。现在给出初始的两堆石子的数目,如果轮到你先取,假设双方都采取最好的策略,问最 阅读全文
posted @ 2016-08-04 20:14 踮起脚望天 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Description There is a hill with n holes around. The holes are signed from 0 to n-1. A rabbit must hide in one of the holes. A wolf searches the rabbi 阅读全文
posted @ 2016-08-04 20:06 踮起脚望天 阅读(240) 评论(0) 推荐(0) 编辑