上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 33 下一页
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2149巴什博奕(Bash Game): Public SaleTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3196Accepted Submission(s): 1967 Problem Description虽然不想,但是现实总归是现实,Lele始终没有逃过退学的命运,因为他没有拿到奖学金。现在等待他的,就是像FarmJohn一样的农田生涯。要种田得有 阅读全文
posted @ 2014-01-10 16:23 疯狂的癫子 阅读(112) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2188巴什博奕(Bash Game)的转换:换一种说法而已悼念512汶川大地震遇难同胞——选拔志愿者Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4620Accepted Submission(s): 2782 Problem Description对于四川同胞遭受的灾难,全国人民纷纷伸出援助之手,几乎每个省市都派出了大量的救援人员,这其中包括抢险救灾的武 阅读全文
posted @ 2014-01-10 15:54 疯狂的癫子 阅读(154) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1527交换 :可实现。1 if( n 2 #include 3 int main() 4 { 5 int b,t,k,n,a; 6 while(~scanf("%d%d",&a,&b)) 7 { 8 if(a<b) 9 {10 t=a;11 a=b;12 b=t;13 }14 k=a-b;15 n=(int)k*(1+sqrt(5))/2.0;16 ... 阅读全文
posted @ 2014-01-10 15:18 疯狂的癫子 阅读(173) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1846(一)巴什博奕(Bash Game):只有一堆n个物品,两个人轮流从这堆物品中取物,规定每次至少取一个,最多取m个。最后取光者得胜。的应用怎么样判断谁获胜。 Brave GameTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5234Accepted Submission(s): 3476 Problem Description十年前读大学的时候,中国 阅读全文
posted @ 2014-01-10 14:44 疯狂的癫子 阅读(152) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1850//能把s态转换为T态有几种方法。 Being a Good Boy in Spring FestivalTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3574Accepted Submission(s): 2091 Problem Description一年在外 父母时刻牵挂 春节回家 你能做几天好孩子吗 寒假里尝试做做下面的事情吧陪妈妈逛一次菜场 阅读全文
posted @ 2014-01-10 14:20 疯狂的癫子 阅读(170) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2509Be the WinnerTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1646Accepted Submission(s): 879 Problem DescriptionLet's consider m apples divided into n groups. Each group contains no more than 100 a 阅读全文
posted @ 2014-01-09 21:36 疯狂的癫子 阅读(164) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1907 JohnTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 2385Accepted Submission(s): 1289 Problem DescriptionLittle John is playing very funny game with his younger brother. There is one big box filled wit 阅读全文
posted @ 2014-01-09 20:54 疯狂的癫子 阅读(185) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1969 PieTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3303Accepted Submission(s): 1280 Problem DescriptionMy birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a nu 阅读全文
posted @ 2013-12-18 22:52 疯狂的癫子 阅读(188) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1501ZipperTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5810Accepted Submission(s): 2088 Problem DescriptionGiven three strings, you are to determine whether the third string can be formed by combining t 阅读全文
posted @ 2013-12-16 21:52 疯狂的癫子 阅读(244) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2289学习:pi的精度巧妙用法;3.0而不是3 ;二分法解题思想。写函数会更简单一些。 CupTime Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3020Accepted Submission(s): 943 Problem DescriptionThe WHU ACM Team has a big cup, with which every member dr 阅读全文
posted @ 2013-12-16 21:12 疯狂的癫子 阅读(260) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 33 下一页