Niyaz Nigmatullin's submission of Time of collisions | CodeChef