Rosetta Problems
← atcoder に戻る
Distribution of Souvenirs
https://atcoder.jp/contests/awc0079/tasks/awc0079_d