摘要:
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-13 16:52
龙姑娘
阅读(206)
推荐(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-13 15:43
龙姑娘
阅读(184)
推荐(0)
编辑
摘要:
Description The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence of the ti
阅读全文
posted @ 2016-08-13 15:36
龙姑娘
阅读(161)
推荐(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-13 15:25
龙姑娘
阅读(131)
推荐(0)
编辑
摘要:
Description 对于吃货来说,过年最幸福的事就是吃了,没有之一! 但是对于女生来说,卡路里(热量)是天敌啊! 资深美女湫湫深谙“胖来如山倒,胖去如抽丝”的道理,所以她希望你能帮忙制定一个食谱,能使她吃得开心的同时,不会制造太多的天敌。 当然,为了方便你制作食谱,湫湫给了你每日食物清单,上面描
阅读全文
posted @ 2016-08-12 19:48
龙姑娘
阅读(296)
推荐(0)
编辑
摘要:
Description The greatest common divisor GCD(a,b) of two positive integers a and b,sometimes written (a,b),is the largest divisor common to a and b,For
阅读全文
posted @ 2016-08-04 16:58
龙姑娘
阅读(184)
推荐(0)
编辑
摘要:
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description Input Output Sample Input Sample Output Hint Descriptio
阅读全文
posted @ 2016-08-04 16:18
龙姑娘
阅读(209)
推荐(0)
编辑
摘要:
数论Crawling in process... Crawling failed Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description There is a hil
阅读全文
posted @ 2016-08-03 15:18
龙姑娘
阅读(313)
推荐(0)
编辑
摘要:
Description 有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二是可以在两堆中同时取走相同数量的石子。最后把石子全部取完者为胜者。现在给出初始的两堆石子的数目,如果轮到你先取,假设双方都采取最好的策略,问最
阅读全文
posted @ 2016-08-03 10:39
龙姑娘
阅读(166)
推荐(0)
编辑
摘要:
计数,排列Crawling in process... Crawling failed Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description Input Outpu
阅读全文
posted @ 2016-08-01 21:19
龙姑娘
阅读(347)
推荐(0)
编辑