PAT A1046 Shortest Distance
The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of exits.
Input Specification:
Each input file contain...
原创
2019-03-12 21:52:11 ·
110 阅读 ·
0 评论