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 ____ wa_n al_n la_n ____ sa_s pa_w ri_s ____ ____ ____ lr_s le_n le_w ____ ri_s rr_n pa_n la_w al_s pa_e fl_n ____ lr_n sa_s rr_s ____ sa_e ____ wa_e ____ sa_s ri_s le_w ____ ____ rr_w pa_n rr_n wa_s la_s le_n rr_e ____ wa_e le_e rr_n le_e rr_e la_s pa_w rr_n la_w ____ le_s pa_e sa_n fl_e rr_e lr_s pa_e fl_e fl_s le_n Round 1 Creature (path_finder north 2 1) takes action: hop Creature (path_finder north 4 5) takes action: left Creature (rrover north 2 0) takes action: hop Creature (same_turner north 7 0) takes action: hop Creature (landmine south 5 0) takes action: infect Creature (lrover south 1 3) takes action: infect Creature (wall_turner east 3 5) takes action: hop Creature (path_finder east 2 4) takes action: left Creature (same_turner south 3 7) takes action: hop Creature (left north 5 1) takes action: left Creature (left east 5 7) takes action: left Creature (path_finder west 6 2) takes action: left Creature (flytrap east 7 1) takes action: infect Creature (left south 6 6) takes a