robot.cpp is for code forces #206 problem C, need to solve