Rosetta Problems
← atcoder に戻る
Chain of Infection
https://atcoder.jp/contests/awc0101/tasks/awc0101_c