Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is -11, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
Initial state ____ pa_e ____ ____ sa_w wa_s la_e lr_w rr_w la_e le_n al_e sa_n le_w le_w pa_s fl_w al_s wa_w fl_w rr_s la_s pa_w ____ lr_e wa_e pa_e ____ pa_s wa_n lr_w ____ al_n pa_s fl_n lr_s ____ wa_s lr_w rr_w wa_n le_w ____ rr_s ____ la_n ____ wa_e ____ sa_e al_s lr_e le_e ____ lr_w le_s pa_n rr_s rr_s pa_e al_w le_w ____ ____ Round 1 Creature (flytrap west 2 0) takes action: left Creature (lrover south 4 3) takes action: infect Creature (wall_turner east 3 1) takes action: hop Creature (lrover west 4 6) takes action: infect Creature (alt_rover south 2 1) takes action: infect Creature (path_finder north 7 0) takes action: hop Creature (left west 1 6) takes action: left Creature (left north 1 2) takes action: left Creature (path_finder south 4 1) takes action: left Creature (path_finder south 1 7) takes action: hop Creature (same_turner north 1 4) takes action: left Creature (rrover south 2 4) takes action: infect Creature (rrover south 7 1) takes action: right Creature (rrover south 3 4) takes ac