Question 4

5

1 votes
Very-Easy
Problem

Solve (1) with the constraint that the robot can only move in the direction in which it is facing. If the robot wants to change its direction, it must invoke the action turn, which turns the robot by 45 degrees clockwise or anticlockwise. The turning action has a cost of 5. The robot is initially facing positive the Y axis (looking E).

Time Limit: 10
Memory Limit: 256
Source Limit:
Editor Image

?