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 fl_w ____ fl_e la_e le_s la_e pa_e pa_s rr_n rr_s fl_w la_w le_w ____ ____ le_w al_s fl_s pa_w lr_n ____ ____ al_e fl_w ____ ____ ____ rr_s sa_s fl_n rr_n pa_s ____ le_e pa_s pa_n rr_n rr_w rr_e pa_s wa_n lr_s sa_w ____ rr_s le_s le_n ____ rr_e le_w ____ ____ wa_s pa_n fl_e la_n pa_e wa_e le_e ____ lr_w fl_s al_n Round 1 Creature (flytrap east 6 7) takes action: left Creature (path_finder south 4 3) takes action: left Creature (lrover north 2 4) takes action: infect Creature (wall_turner north 5 1) takes action: hop Creature (left south 0 5) takes action: left Creature (path_finder south 1 0) takes action: left Creature (flytrap east 0 3) takes action: infect Creature (rrover north 3 7) takes action: infect Creature (path_finder east 7 1) takes action: left Creature (same_turner south 3 5) takes action: hop Creature (wall_turner east 7 2) takes action: hop Creature (rrover east 2 7) takes action: right Creature (flytrap west 1 3) takes action: infect Creature (landmine north 7 0) ta