Rosetta Problems
← atcoder に戻る
Erasing Vertices
https://atcoder.jp/contests/agc049/tasks/agc049_a