|
|
back to boardWA 26 - Hint "In all these cases X is calculated as follows: If the robot’s power supply has more than 100 energy units available, then X = 100; otherwise, X is the amount of power units remaining. Similarly, P is calculated as the smallest of two values: 20 and the actual amount of ammunition units remaining." You should use this rule only while writing result command, and use default amount of ammunition and energy while calculating. Re: WA 26 - Hint In my solution there was such bug, that in patrolling mode, after switching to defence mode my program hadn't exited and tried to move or turn. |
|
|