Rosetta Problems
← atcoder に戻る
国土分割 (Land Division)
https://atcoder.jp/contests/joi2022yo2/tasks/joi2022_yo2_c