PAT_A1046 | Shortest Distance

1046 Shortest Distance (20分) 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 Specifi
相關文章
相關標籤/搜索