2012年4月18日

HDU 1331

摘要: Function Run FunTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1239Accepted Submission(s): 631Problem DescriptionWe all love recursion! Don't we?Consider a three-parameter recursive function w(a, b, c):if a <= 0 or b <= 0 or c <= 0, t 阅读全文

posted @ 2012-04-18 00:02 Action! 阅读(360) 评论(2) 推荐(0) 编辑

2012年4月16日

HDU 1257

摘要: 最少拦截系统Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7684Accepted Submission(s): 2984Problem Description某 国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能 超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹.怎么办呢?多搞 阅读全文

posted @ 2012-04-16 22:42 Action! 阅读(1790) 评论(0) 推荐(0) 编辑

2012年3月23日

HDU 1720

摘要: A+B ComingTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3017 Accepted Submission(s): 1876Problem DescriptionMany classmates said to me that A+B is must needs.If you can’t AC this problem, you would invite me for night meal. ^_^InputInput may ... 阅读全文

posted @ 2012-03-23 00:21 Action! 阅读(219) 评论(0) 推荐(0) 编辑

HDU 1701

摘要: Problem DescriptionThere are at least P% and at most Q% students of HDU are ACMers, now I want to know how many students HDU have at least?InputThe input contains multiple test cases.The first line has one integer,represent the number of test cases.The following N lines each line contains two number 阅读全文

posted @ 2012-03-23 00:17 Action! 阅读(273) 评论(0) 推荐(0) 编辑

2012年3月18日

浙江理工大学第八届程序设计竞赛(2012/03/18)

摘要: 有俩水题,但都错了俩次,有陷阱啊啊啊!Problem A:YUV2RGBOutput N行, 每行3个整数, 分别表示 RGB输出的时候是N组数据一起输出的,而不是输入一个输出一个!Problem E:Death Knight HeroOutput Output the number of battles our hero won, assuming he won each battle where he did not Chains of Ice immediately followed by Death Grip.后半句的意思是当输入的出现“CD”时,就输,而不是“DC”!!!Prob.. 阅读全文

posted @ 2012-03-18 16:46 Action! 阅读(195) 评论(3) 推荐(0) 编辑

导航