ACM-ZOJ
文章平均质量分 85
J_Sure
唯苦修深思方能顿悟
展开
-
ZOJ-1025(POJ-1065、HDU-1051) Wooden Sticks
Wooden SticksTime Limit: 2 Seconds Memory Limit: 65536 KBThere is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a原创 2014-06-03 21:32:56 · 1267 阅读 · 0 评论 -
ZOJ-2027 Travelling Fee
Travelling FeeTime Limit: 2 Seconds Memory Limit: 65536 KBSamball is going to travel in the coming vacation. Now it's time to make a plan. After choosing the destination city, the next st原创 2014-08-15 22:31:11 · 1151 阅读 · 0 评论 -
ZOJ-1029(POJ-1083、HDU-1050) Moving Tables
Moving TablesTime Limit: 2 Seconds Memory Limit: 65536 KBThe famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure.The原创 2014-06-04 17:27:12 · 999 阅读 · 0 评论 -
【最大流】ZOJ-2788 Panic Room
Panic RoomTime Limit: 2 Seconds Memory Limit: 65536 KBIntroductionYou are the lead programmer for the Securitron 9042, the latest and greatest in home security software from Jellern Inc原创 2014-10-10 16:14:52 · 798 阅读 · 0 评论 -
ZOJ-1203 Swordfish
SwordfishTime Limit: 2 Seconds Memory Limit: 65536 KB There exists a world within our worldA world beneath what we call cyberspace.A world protected by firewalls,passwords and the原创 2014-08-08 14:06:22 · 886 阅读 · 0 评论 -
【最小割+判定唯一性】ZOJ-2587 Unique Attack
Unique AttackTime Limit: 5 Seconds Memory Limit: 32768 KBN supercomputers in the United States of Antarctica are connected into a network. A network has a simple topology: M different pai原创 2014-10-09 21:42:14 · 1426 阅读 · 0 评论 -
【无源汇有上下界可行流】ZOJ-2314 Reactor Cooling
Reactor CoolingTime Limit: 5 Seconds Memory Limit: 32768 KB Special JudgeThe terrorist group leaded by a well known international terrorist Ben Bladen is buliding a nuclear reactor t原创 2014-10-11 23:33:44 · 818 阅读 · 0 评论 -
【二分图|最大匹配】ZOJ-1654 Place the Robots
Place the RobotsTime Limit: 5 Seconds Memory Limit: 32768 KBRobert is a famous engineer. One day he was given a task by his boss. The background of the task was the following:Gi原创 2014-10-31 17:20:31 · 727 阅读 · 0 评论 -
【有源汇有上下界最大流】ZOJ-3229 Shoot the Bullet
Shoot the BulletTime Limit: 2 Seconds Memory Limit: 32768 KB Special JudgeGensokyo is a world which exists quietly beside ours, separated by a mystical border. It is a utopia where h原创 2014-10-16 22:34:05 · 911 阅读 · 0 评论 -
ZOJ-1857(POJ-2607) Fire Station
Fire StationTime Limit: 2 Seconds Memory Limit: 65536 KBA city is served by a number of fire stations. Some residents have complained that the distance from their houses to the nearest st原创 2014-08-16 16:35:15 · 1126 阅读 · 0 评论 -
【二分图|最大匹配】ZOJ-1516 Uncle Tom's Inherited Land
Uncle Tom's Inherited LandTime Limit: 2 Seconds Memory Limit: 65536 KBYour old uncle Tom inherited a piece of land from his great-great-uncle. Originally, the property had been in t原创 2014-11-06 18:24:20 · 2108 阅读 · 0 评论 -
【连通图|桥】ZOJ-2588 Burning Bridges
给出一个允许有重边的无向图,求出其中的桥并输出。(桥按照输入顺序进行编号)原创 2014-12-27 12:25:53 · 945 阅读 · 0 评论 -
ZOJ-3088 Easter Holidays
Easter HolidaysTime Limit: 1 Second Memory Limit: 32768 KB Special JudgeScandinavians often make vacation during the Easter holidays in the largest ski resort Are. Are provides fanta原创 2014-08-15 15:11:59 · 966 阅读 · 0 评论 -
ZOJ-1232 Adventure of Super Mario
Adventure of Super MarioTime Limit: 2 Seconds Memory Limit: 65536 KB After rescuing the beautiful princess, Super Mario needs to find a way home -- with the princess of course :-) He's原创 2014-08-13 19:28:49 · 938 阅读 · 0 评论 -
ZOJ-1004(AOJ-466) Anagrams by Stack
Anagrams by StackTime Limit: 1000 ms Case Time Limit: 1000 ms Memory Limit: 64 MBDescriptionHow can anagrams result from sequences of stack operations? There are two sequences of stack o原创 2014-03-18 20:10:04 · 1232 阅读 · 0 评论 -
ZOJ-1360(POJ-1328) Radar Installation
Radar InstallationTime Limit: 2 Seconds Memory Limit: 65536 KBAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a p原创 2014-06-05 17:17:54 · 1163 阅读 · 2 评论 -
POJ-1042(ZOJ-1161) Gone Fishing
Gone FishingTime Limit: 2000MS Memory Limit: 32768K DescriptionJohn is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes i原创 2014-06-08 10:56:36 · 1612 阅读 · 0 评论 -
ZOJ-1008 Gnome Tetravex
Gnome TetravexTime Limit: 10 Seconds Memory Limit: 32768 KB Hart is engaged in playing an interesting game, Gnome Tetravex, these days. In the game, at the beginning, the player is give原创 2014-08-01 10:44:18 · 925 阅读 · 0 评论 -
ZOJ-1586 QS Network
QS NetworkTime Limit: 2 Seconds Memory Limit: 65536 KB Sunny Cup 2003 - Preliminary RoundApril 20th, 12:00 - 17:00 Problem E: QS NetworkIn the planet w-503 of galaxy cgb, there原创 2014-08-08 21:49:16 · 948 阅读 · 0 评论 -
ZOJ-1455 Schedule Problem
Schedule ProblemTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeA project can be divided into several parts. Each part should be completed continuously. This means if a par原创 2014-09-07 18:31:59 · 868 阅读 · 0 评论 -
ZOJ-2770 Burn the Linked Camp
Burn the Linked CampTime Limit: 2 Seconds Memory Limit: 65536 KBIt is well known that, in the period of The Three Empires, Liu Bei, the emperor of the Shu Empire, was defeated by Lu Xun,原创 2014-08-19 19:05:23 · 1373 阅读 · 2 评论 -
ZOJ-1508 Intervals
IntervalsTime Limit: 10 Seconds Memory Limit: 32768 KB You are given n closed, integer intervals [ai, bi] and n integers c1, ..., cn.Write a program that:> reads the number of i原创 2014-08-24 20:27:18 · 766 阅读 · 0 评论 -
ZOJ-1053 FDNY to the Rescue!
FDNY to the Rescue!Time Limit: 2 Seconds Memory Limit: 65536 KB The Fire Department of New York (FDNY) has always been proud of their response time to fires in New York City, but they原创 2014-08-11 20:15:09 · 953 阅读 · 0 评论 -
ZOJ-1655 Transport Goods
Transport GoodsTime Limit: 2 Seconds Memory Limit: 65536 KB The HERO country is attacked by other country. The intruder is attacking the capital so other cities must send supports to th原创 2014-08-11 22:45:05 · 1034 阅读 · 0 评论 -
ZOJ-3103 Cliff Climbing
Cliff ClimbingTime Limit: 10 Seconds Memory Limit: 32768 KBAt 17:00, special agent Jack starts to escape from the enemy camp. There is a cliff in between the camp and the nearest safety原创 2014-09-09 09:32:15 · 1016 阅读 · 0 评论 -
【最大流|关键边】ZOJ-1532 Internship
由一个总部、若干个城市、中继站以及一些网段构成一个容量网络。每个网段是单向的且存在一定带宽。城市会无限制的上传数据,求出该图中的这样一些网段:增加这些网段的带宽可以提高总部收到的总带宽。原创 2015-03-06 12:26:37 · 1071 阅读 · 0 评论