对应输入的每条邮递路线,应输出访问其所有街道至少一次的最短路径的开销。
For each postal route the output should consist of the cost of the minimal tour that visits all streets at least once.
最短路径开销应按照输入的邮递路线的相应顺序输出。
The minimal tour costs should be output in the order corresponding to the input postal routes.
最短路径开销应按照输入的邮递路线的相应顺序输出。
The minimal tour costs should be output in the order corresponding to the input postal routes.
应用推荐