Rosetta Problems

Closeness of Fireworks

https://atcoder.jp/contests/awc0032/tasks/awc0032_a