Rosetta Problems
← atcoder に戻る
Watching the Fireworks Festival
https://atcoder.jp/contests/awc0086/tasks/awc0086_a