1031: Mincost 时间限制: 1 Sec 内存限制: 128 MB 提交: 303 解决: 88 [ 提交][ 状态][ 讨论版] 题目描述 The cost of taking a taxi in Hangzhou is not a constant for each kilometer you travel: the first 4 kilometers
find the mincost route Time Limit: 1000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1444 Accepted Submission(s): 590 Problem Description 杭州有N个景
Problem Description 杭州有N个景区,景区之间有一些双向的路来连接,现在8600想找一条旅游路线,这个路线从A点出发并且最后回到A点,假设经过的路线为V1,V2,....VK,V1,那么必须满足K>2,就是说至除了出发点以外至少要经过2个其他不同的景区,而且不能重复经过同一个景区。现在8600需要你帮他找一条这样的路线,并且花费越少越好。 Input
find the mincost route Time Limit: 1000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2802 Accepted Submission(s): 1116 Problem Description 杭州有N