Array
2751. Robot Collisions
Given robots' positions, healths, and directions ('L'/'R'). Robots move; when two moving toward each other meet, the one with less health dies and the survivor's health drops by 1; if equal, both…
Loading…
Given robots' positions, healths, and directions ('L'/'R'). Robots move; when two moving toward each other meet, the one with less health dies and the survivor's health drops by 1; if equal, both…
Loading…