1087 All Roads Lead to Rome (30 分)

 题目链接:

题目详情 - 1087 All Roads Lead to Rome (30 分) (pintia.cn)https://pintia.cn/problem-sets/994805342720868352/problems/994805379664297984

题目描述: 

Indeed there are many different tourist routes from our city to Rome. You are supposed to find your clients the route with the least cost while gaining the most happiness.

Input Specification:

Each input file contains one test case. For each case, the first line contains 2 positive integers N (2≤N≤200), the number of cities,

你可能感兴趣的:(PTA甲级,c++,算法,数据结构,图论)