Rosetta Problems

Simultaneous Firework Launch

https://atcoder.jp/contests/awc0060/tasks/awc0060_c