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 al_w ____ ____ fl_e fl_e la_n pa_e rr_e pa_w ____ sa_w al_w ____ pa_n pa_e wa_e lr_n wa_n ____ wa_w fl_w al_s ____ wa_s le_e rr_w le_s lr_e al_e al_n le_s le_e le_e fl_n ____ pa_n ____ pa_w al_s ____ ____ al_w fl_w ____ sa_s ____ rr_n fl_w al_e ____ rr_s sa_n al_s sa_n fl_w fl_w lr_w ____ le_w wa_n sa_w la_s fl_w rr_w Round 1 Creature (left east 3 0) takes action: left Creature (wall_turner east 1 7) takes action: left Creature (left south 3 6) takes action: left Creature (path_finder east 1 6) takes action: left Creature (flytrap west 5 2) takes action: infect Creature (wall_turner west 2 3) takes action: hop Creature (path_finder north 1 5) takes action: left Creature (alt_rover south 6 4) takes action: infect Creature (left south 3 2) takes action: left Creature (flytrap west 2 4) takes action: left Creature (path_finder east 0 6) takes action: left Creature (left east 4 0) takes action: left Creature (path_finder north 4 3) takes action: left Creature (rrover west 7 7) takes action: