摘要:
急!灾区的食物依然短缺! 为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。 请问:你用有限的资金最多能采购多少公斤粮食呢?后记: 人生是一个充满了变数的生命过程,天灾、人祸、病痛是我... 阅读全文
posted @ 2015-08-13 11:19
白一
阅读(172)
评论(0)
推荐(0)
摘要:
DescriptionGiven 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 ma... 阅读全文
posted @ 2015-08-13 11:02
白一
阅读(493)
评论(0)
推荐(0)
摘要:
DescriptionThe world famous scientist Innokentiy almost finished the creation of perpetuum mobile. Its main part is the energy generator which allows ... 阅读全文
posted @ 2015-08-13 10:51
白一
阅读(341)
评论(0)
推荐(0)
摘要:
DescriptionHere is a famous story in Chinese history."That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes t... 阅读全文
posted @ 2015-08-13 10:26
白一
阅读(751)
评论(0)
推荐(0)

浙公网安备 33010602011771号