Rosetta Problems

Modifications

https://atcoder.jp/contests/agc067/tasks/agc067_b