I am going to my home. There are many cities and many bi-directional roads between them. The cities are numbered from 0 to n-1 and each road has a cost. There are m roads. You are given the number of my city t where I belong. Now from each city you h…
1002 - Country Roads I am going to my home. There are many cities and many bi-directional roads between them. The cities are numbered from 0 to n-1 and each road has a cost. There are m roads. You are given the number of my city t where I belong. Now…
1002 - Country Roads PDF (English) Statistics Forum Time Limit: 3 second(s) Memory Limit: 32 MB 点击打开链接 I am going to my home. There are many cities and many…
题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1102 Constructing Roads Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21947 Accepted Submission(s): 8448 Problem Description There are N villa…
Jungle Roads Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 3614 Accepted Submission(s): 2609 Problem Description The Head Elder of the tropical island of Lagrishan has a problem. A burst o…
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3371 Connect the Cities Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10313 Accepted Submission(s): 2937 Problem Description In 2100, since th…