D - Shortest Paths on Unicyclic Graph

2 secs 1024 MB
magurofly's icon magurofly

a-sample-1.txt


入力

出力