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 le_w ____ sa_e al_w al_e sa_w al_n ri_w fl_s ____ al_s wa_e lr_w le_w wa_e pa_s wa_n ri_e ____ ri_e rr_n ri_n sa_n al_n pa_s pa_w pa_e fl_e le_s ____ la_w ____ wa_w ____ le_s wa_e sa_s al_s ri_w fl_w wa_n fl_e sa_s ____ rr_e ____ ____ le_w ____ ____ pa_n fl_n ____ pa_n al_w ____ pa_e sa_n ri_n rr_w rr_w pa_s ____ la_s Round 1 Creature (flytrap west 4 7) takes action: infect Creature (alt_rover south 4 5) takes action: hop Creature (rrover north 2 4) takes action: infect Creature (wall_turner north 2 0) takes action: hop Creature (right north 7 2) takes action: right Creature (left south 3 4) takes action: left Creature (right west 0 7) takes action: right Creature (same_turner north 2 6) takes action: hop Creature (same_turner east 0 2) takes action: hop Creature (wall_turner north 5 0) takes action: hop Creature (alt_rover west 0 3) takes action: infect Creature (wall_turner east 4 3) takes action: hop Creature (path_finder east 7 0) takes action: left Creature (left west 0 0) takes act