Problem 2731 · Medium

Movement of Robots

Robots move one step per second in their fixed directions and bounce apart on collisions; sum the pairwise distances after d seconds.

Open the interactive visualisation