Descriptions:

Robot Program

CodeForces - 1452A