Cyclic Tour Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/65535 K (Java/Others)Total Submission(s): 2257 Accepted Submission(s): 1148 Problem Description There are N cities in our country, and M one-way roads connecting them. Now L…
Description In a country there are n cities connected by m one way roads. You can paint any of these roads. To paint a road it costs d unit of money where d is the length of that road. Your task is to paint some of the roads so that the painted roads…
http://poj.org/problem?id=2175 Evacuation Plan Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3256 Accepted: 855 Special Judge Description The City has a number of municipal buildings and a number of fallout shelters that were build…
Problem Description A new candy factory opens in pku-town. The factory import M machines to produce high quality candies. These machines are numbered from 1 to M. There are N candies need to be produced. These candies are also numbered from 1 to N…