8.1.8 Team Queue
摘要: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)
8.1.7 愚人节的礼物
摘要:愚人节的礼物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
阅读(226)
推荐(0)
8.1.6 Windows Message Queue
摘要: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
阅读(369)
推荐(0)
8.1.4 Flipper
摘要: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
阅读(377)
推荐(0)
8.1.5 看病要排队
摘要:看病要排队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
阅读(226)
推荐(0)
8.1.3 简单计算器
摘要:简单计算器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
阅读(231)
推荐(0)
8.1.2 Train Problem I
摘要: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)
8.1.1 ACboy needs your help again!
摘要: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
阅读(206)
推荐(0)