8.2.8 A Simple Game
摘要:A Simple GameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/65535 K (Java/Others)Total Submission(s): 36 Accepted Submission(s): 29 Problem Description Agrael likes play a simple game with his friend Animal during the classes. In this Game there are n piles of stones num...
阅读全文
posted @
2013-07-24 21:02
cssystem
阅读(179)
推荐(0)
8.2.7 Be the Winner
摘要:Be the WinnerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 38 Accepted Submission(s): 29 Problem Description Let's consider m apples divided into n groups. Each group contains no more than 100 apples, arranged in a line. You can...
阅读全文
posted @
2013-07-24 21:01
cssystem
阅读(313)
推荐(0)
8.2.6 John
摘要:JohnTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 31 Accepted Submission(s): 23 Problem Description Little John is playing very funny game with his younger brother. There is one big box filled with M&Ms of different colors. At f...
阅读全文
posted @
2013-07-24 21:00
cssystem
阅读(217)
推荐(0)
8.2.5 kiki's game
摘要:kiki's gameTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 40000/1000 K (Java/Others)Total Submission(s): 34 Accepted Submission(s): 26 Problem Description Recently kiki has nothing to do. While she is bored, an idea appears in his mind, she just playes the checkerboard game...
阅读全文
posted @
2013-07-24 20:58
cssystem
阅读(245)
推荐(0)
8.2.2 Good Luck in CET-4 Everybody!
摘要:Good Luck in CET-4 Everybody!Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 45 Accepted Submission(s): 39 Problem Description 大学英语四级考试就要来临了,你是不是在紧张的复习?也许紧张得连短学期的ACM都没工夫练习了,反正我知道的Kiki和Cici都是如此。当然,作为在考场浸润了十几载的当代大学生,Kiki和Cici更懂得考前的放...
阅读全文
posted @
2013-07-24 20:57
cssystem
阅读(337)
推荐(0)
8.2.4 悼念512汶川大地震遇难同胞——选拔志愿者
摘要:悼念512汶川大地震遇难同胞——选拔志愿者Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 33 Accepted Submission(s): 27 Problem Description 对于四川同胞遭受的灾难,全国人民纷纷伸出援助之手,几乎每个省市都派出了大量的救援人员,这其中包括抢险救灾的武警部队,治疗和防疫的医护人员,以及进行心理疏导的心理学专家。根据要求,我校也有一个奔赴灾区救灾的名额,由于广大师生...
阅读全文
posted @
2013-07-24 20:56
cssystem
阅读(246)
推荐(0)
8.2.1 Brave Game
摘要:Brave GameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 46 Accepted Submission(s): 40 Problem Description 十年前读大学的时候,中国每年都要从国外引进一些电影大片,其中有一部电影就叫《勇敢者的游戏》(英文名称:Zathura),一直到现在,我依然对于电影中的部分电脑特技印象深刻。今天,大家选择上机考试,就是一种勇敢(brave)的选择;这个短学期,我...
阅读全文
posted @
2013-07-24 20:52
cssystem
阅读(246)
推荐(0)
8.2.3 Fibonacci again and again
摘要:Fibonacci again and againTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 67 Accepted Submission(s): 45 Problem Description 任何一个大学生对菲波那契数列(Fibonacci numbers)应该都不会陌生,它是这样定义的:F(1)=1;F(2)=2;F(n)=F(n-1)+F(n-2)(n>=3);所以,1,2,3,5,8,13……就是...
阅读全文
posted @
2013-07-22 10:30
cssystem
阅读(367)
推荐(0)