PAT-A 真题- 1046. 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 contains one test case. For ea ...