Explosions?

Problem Name:
Explosions?
Site:CodeForces
Links:
Tags:
Problem setters: