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