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