Rosetta Problems
← atcoder に戻る
Contest with Drinks Hard
https://atcoder.jp/contests/arc066/tasks/arc066_d