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 sa_n ____ rr_e ____ pa_s rr_n ____ rr_e ri_w pa_w ____ rr_n al_e al_e ____ fl_s fl_e lr_w ri_w la_n la_s sa_w la_s pa_n fl_w la_e rr_w wa_w ____ sa_s ____ rr_s sa_s pa_w pa_e lr_w ____ wa_s ____ rr_w al_n la_s rr_w fl_e la_e fl_e sa_s ri_n pa_e ____ lr_e ____ pa_w la_n ri_n sa_n fl_w sa_n sa_n ____ rr_n la_e ____ ____ Round 1 Creature (same_turner north 0 0) takes action: hop Creature (rrover north 1 3) takes action: hop Creature (same_turner north 7 2) takes action: hop Creature (flytrap west 7 0) takes action: left Creature (rrover east 0 7) takes action: right Creature (flytrap east 2 0) takes action: infect Creature (same_turner south 3 5) takes action: hop Creature (flytrap east 5 3) takes action: infect Creature (flytrap south 1 7) takes action: infect Creature (flytrap west 3 0) takes action: left Creature (landmine south 2 6) takes action: infect Creature (same_turner north 7 1) takes action: hop Creature (path_finder south 0 4) takes action: left Creature (landmine east 3 1) tak