摘要: 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 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 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) 推荐(0) 编辑
摘要: 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 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 悼念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 阅读(242) 评论(0) 推荐(0) 编辑
摘要: Team QueueTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 60 Accepted Submission(s): 36 Problem Description Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is no... 阅读全文
posted @ 2013-07-24 20:53 cssystem 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Windows Message QueueTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 50 Accepted Submission(s): 33 Problem Description Message queue is the basic fundamental of windows system. For each process, the system maintains a message queu... 阅读全文
posted @ 2013-07-24 20:51 cssystem 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 愚人节的礼物Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 32 Accepted Submission(s): 30 Problem Description 四月一日快到了,Vayko想了个愚人的好办法——送礼物。嘿嘿,不要想的太好,这礼物可没那么简单,Vayko为了愚人,准备了一堆盒子,其中有一个盒子里面装了礼物。盒子里面可以再放零个或者多个盒子。假设放礼物的盒子里不再放其他盒子。用()表示一个盒子,B表... 阅读全文
posted @ 2013-07-24 20:51 cssystem 阅读(225) 评论(0) 推荐(0) 编辑
摘要: FlipperTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 39 Accepted Submission(s): 29 Problem Description Little Bobby Roberts (son of Big Bob, of Problem G) plays this solitaire memory game called Flipper. He starts with n cards, ... 阅读全文
posted @ 2013-07-24 20:48 cssystem 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 看病要排队Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 43 Accepted Submission(s): 31 Problem Description 看病要排队这个是地球人都知道的常识。不过经过细心的0068的观察,他发现了医院里排队还是有讲究的。0068所去的医院有三个医生(汗,这么少)同时看病。而看病的人病情有轻重,所以不能根据简单的先来先服务的原则。所以医院对每种病情规定了10种不同的优先级。级... 阅读全文
posted @ 2013-07-24 20:48 cssystem 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 简单计算器Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 58 Accepted Submission(s): 44 Problem Description 读入一个只包含 +, -, *, / 的非负整数计算表达式,计算该表达式的值。 Input 测试输入包含若干测试用例,每个测试用例占一行,每行不超过200个字符,整数和运算符之间用一个空格分隔。没有非法表达式。当一行中只有... 阅读全文
posted @ 2013-07-24 20:47 cssystem 阅读(226) 评论(0) 推荐(0) 编辑
摘要: As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in the Ignatius Train Station is the fastest all over the world ^v^). But here comes a problem, there is only one railway where all the trains stop. So al. 阅读全文
posted @ 2013-07-24 20:45 cssystem 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Problem Description ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so poor :(.As a smart ACMer, you want to get ACboy out of the monster's labyrinth.But when you arrive at the gate of the maze, the monste say :&q 阅读全文
posted @ 2013-07-24 20:43 cssystem 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Square CoinsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 50 Accepted Submission(s): 48 Problem Description People in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins ... 阅读全文
posted @ 2013-07-24 20:38 cssystem 阅读(226) 评论(0) 推荐(0) 编辑
摘要: piTime Limit: 6000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 47 Accepted Submission(s): 27 Problem Description 计算圆周率到小数点后5n 位。(本题不可打表) Input 正整数n=1;i--){11 ans=TWO.add(ans.multiply(td(i)).divide(td(2*i+1),1800,Big... 阅读全文
posted @ 2013-07-24 20:36 cssystem 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 循环多少次?Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 37 Accepted Submission(s): 24 Problem Description 我们知道,在编程中,我们时常需要考虑到时间复杂度,特别是对于循环的部分。例如,如果代码中出现for(i=1;i 2 #include 3 #include 4 #include 5 #include 6 #include 7 using na... 阅读全文
posted @ 2013-07-24 20:33 cssystem 阅读(357) 评论(0) 推荐(0) 编辑
摘要: The BalanceTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 72 Accepted Submission(s): 50 Problem Description Now you are asked to measure a dose of medicine with a balance and a number of weights. Certainly it is not always achiev... 阅读全文
posted @ 2013-07-24 20:28 cssystem 阅读(183) 评论(0) 推荐(0) 编辑
摘要: FruitTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 35 Accepted Submission(s): 26 Problem Description 转眼到了收获的季节,由于有TT的专业指导,Lele获得了大丰收。特别是水果,Lele一共种了N种水果,有苹果,梨子,香蕉,西瓜……不但味道好吃,样子更是好看。于是,很多人们慕名而来,找Lele买水果。甚至连大名鼎鼎的HDU ACM总教头 lcy 也来了。... 阅读全文
posted @ 2013-07-24 20:23 cssystem 阅读(269) 评论(0) 推荐(0) 编辑