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 ____ ri_s sa_n wa_w wa_e wa_s rr_s le_e wa_e ri_n ____ pa_e pa_n ri_w ri_s ____ rr_e ri_e ____ ____ fl_n pa_n la_e sa_n ____ wa_e fl_s la_w ri_n pa_e lr_n ____ ri_s ____ ri_w pa_n ____ la_s al_e le_w ____ wa_w lr_n fl_w al_w rr_s rr_e wa_s wa_s rr_s pa_w lr_n wa_w wa_s ____ ____ lr_e wa_e ____ le_w ri_e sa_e rr_e ____ Round 1 Creature (wall_turner east 3 1) takes action: hop Creature (alt_rover east 4 6) takes action: infect Creature (wall_turner east 1 0) takes action: hop Creature (left west 7 3) takes action: left Creature (right south 0 1) takes action: right Creature (alt_rover west 4 7) takes action: left Creature (landmine south 4 5) takes action: infect Creature (wall_turner east 0 4) takes action: hop Creature (flytrap north 2 4) takes action: infect Creature (flytrap south 3 2) takes action: infect Creature (wall_turner east 7 1) takes action: hop Creature (right east 7 4) takes action: right Creature (lrover north 5 2) takes action: infect Creature (wall_turner south 0 5) take