2012年2月4日

1003. Emergency

摘要: 1003. Emergency (25)时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueAs an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each city and the length of each road bet 阅读全文

posted @ 2012-02-04 01:33 坑王 阅读(463) 评论(0) 推荐(0) 编辑

2012年2月2日

1021. Deepest Root

摘要: 1021. Deepest Root (25)时间限制1500 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to find the root that results in a highest tree. Such a root is calledthe deepe 阅读全文

posted @ 2012-02-02 20:23 坑王 阅读(457) 评论(0) 推荐(0) 编辑

1013. Battle Over Cities

摘要: 1013. Battle Over Cities (25)时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueIt is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We must know immediately if we need to repair a 阅读全文

posted @ 2012-02-02 19:13 坑王 阅读(341) 评论(0) 推荐(0) 编辑

Phone List

摘要: Phone ListTime Limit:1000MSMemory Limit:65536KTotal Submissions:14044Accepted:4529DescriptionGiven a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let's say the phone catalogue listed these numbers:Emergency 911Alice 97 625 999Bob 91 1 阅读全文

posted @ 2012-02-02 01:51 坑王 阅读(251) 评论(0) 推荐(0) 编辑

2012年2月1日

The Suspects

摘要: The SuspectsTime Limit:1000MSMemory Limit:20000KTotal Submissions:13486Accepted:6403DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize transmission to others, the best strategy is to separa 阅读全文

posted @ 2012-02-01 23:24 坑王 阅读(173) 评论(0) 推荐(0) 编辑

Ubiquitous Religions

摘要: Ubiquitous ReligionsTime Limit:5000MSMemory Limit:65536KTotal Submissions:15947Accepted:7682DescriptionThere are so many different religions in the world today that it is difficult to keep track of them all. You are interested in finding out how many different religions students in your university b 阅读全文

posted @ 2012-02-01 22:51 坑王 阅读(237) 评论(0) 推荐(0) 编辑

2012年1月31日

Chores

摘要: ChoresTime Limit:3000MSMemory Limit:30000KTotal Submissions:3723Accepted:1759DescriptionFarmer John's family pitches in with the chores during milking, doing all the chores as quickly as possible. At FJ's house, some chores cannot be started until others have been completed, e.g., it is impo 阅读全文

posted @ 2012-01-31 20:37 坑王 阅读(435) 评论(0) 推荐(0) 编辑

Wormholes

摘要: WormholesTime Limit:2000MSMemory Limit:65536KTotal Submissions:16897Accepted:5959DescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path that delivers you to its destination at a time that is BEFORE 阅读全文

posted @ 2012-01-31 18:03 坑王 阅读(329) 评论(0) 推荐(0) 编辑

Stockbroker Grapevine

摘要: Stockbroker GrapevineTime Limit:1000MSMemory Limit:10000KTotal Submissions:18719Accepted:10114DescriptionStockbrokers are known to overreact to rumours. You have been contracted to develop a method of spreading disinformation amongst the stockbrokers to give your employer the tactical edge in the st 阅读全文

posted @ 2012-01-31 16:58 坑王 阅读(156) 评论(0) 推荐(0) 编辑

MPI Maelstrom

摘要: MPI MaelstromTime Limit:1000MSMemory Limit:10000KTotal Submissions:2702Accepted:1608DescriptionBIT has recently taken delivery of their new supercomputer, a 32 processor Apollo Odyssey distributed shared memory machine with a hierarchical communication subsystem. Valentine McKee's research advis 阅读全文

posted @ 2012-01-31 13:12 坑王 阅读(337) 评论(0) 推荐(0) 编辑

导航