上一页 1 ··· 11 12 13 14 15
摘要: Constructing Roads In JGShining's KingdomTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 6420Accepted Submission(s): 1881Problem DescriptionJGShining's kingdom consists of 2n(n is no more than 500,000) small cities which are located in two 阅读全文
posted @ 2011-12-01 16:52 Stephen Li 阅读(232) 评论(0) 推荐(0) 编辑
摘要: To The MaxTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3805Accepted Submission(s): 1816Problem DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1 x 1 or greater loca 阅读全文
posted @ 2011-12-01 16:38 Stephen Li 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Max SumTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 63276Accepted Submission(s): 14433Problem 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 @ 2011-11-27 19:43 Stephen Li 阅读(231) 评论(0) 推荐(0) 编辑
摘要: FruitTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1489Accepted Submission(s): 865Problem Description转眼到了收获的季节,由于有TT的专业指导,Lele获得了大丰收。特别是水果,Lele一共种了N种水果,有苹果,梨子,香蕉,西瓜……不但味道好吃,样子更是好看。 于是,很多人们慕名而来,找Lele买水果。 甚至连大名鼎鼎的HDU ACM总教头 lcy 也来了。lcy抛出一打百元大钞,&qu 阅读全文
posted @ 2011-11-27 10:47 Stephen Li 阅读(214) 评论(0) 推荐(0) 编辑
摘要: A hard puzzleTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 14975 Accepted Submission(s): 5314 Problem Descriptionlcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT prob. 阅读全文
posted @ 2011-11-26 22:02 Stephen Li 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Square CoinsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 4089Accepted Submission(s): 2782Problem DescriptionPeople in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins with values of a 阅读全文
posted @ 2011-11-26 21:28 Stephen Li 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 钱币兑换问题Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 2351Accepted Submission(s): 1279Problem Description在一个国家仅有1分,2分,3分硬币,将钱N兑换成硬币有很多种兑法。请你编程序计算出共有多少种兑法。Input每行只有一个正整数N,N小于32768。Output对应每个输入,输出兑换方法数。Sample Input293412553Sample Output7188311313776 阅读全文
posted @ 2011-11-26 21:26 Stephen Li 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Ignatius and the Princess IIITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5568Accepted Submission(s): 3925Problem Description"Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says. 阅读全文
posted @ 2011-11-26 21:19 Stephen Li 阅读(161) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15