Comments
On harshuiui → Robot Positions, 17 months ago
0

i need to know why mine was wrong

On harshuiui → Robot Positions, 17 months ago
0

RRRLLR cannot be a valid input as the rightmost square has to have a L and the leftmost square has to have a R so if the input was RRRLLRL my L_occ would be 1:3 and 3:6 and for the last second last R its marker would be 2 so it'll look for 3 find its L_occ at idx 6 and then calculate position accordingly

On harshuiui → Robot Positions, 17 months ago
0

Auto comment: topic has been updated by harshuiui (previous revision, new revision, compare).