Rosetta Problems
← atcoder に戻る
Reservoirs and Waterways
https://atcoder.jp/contests/awc0172/tasks/awc0172_c