AOJ0189: Convenient Location

Convenient Location | Aizu Online Judge

解き方

  • Warshall Floydして、町間の最短距離を求め、それが最小となるところを見つける

github.com