[UVA] 12503 - Robot Instructions
Robot Instructions
You have a robot standing on the origin of x axis. The robot will be given some instructions. Your task
is to predict its position after executing all the instructions.
LEFT: move one unit left (decrease p by 1, where p is the p...