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
Initial state rr_s le_s fl_w ____ ____ fl_w rr_w ____ la_e pa_e ____ sa_s ____ ____ lr_s ____ rr_w ____ sa_n lr_e sa_w wa_s pa_w al_e sa_n lr_e le_n lr_n fl_e pa_w sa_n sa_e pa_e fl_n sa_e lr_w lr_w pa_e la_n la_e lr_n wa_w ____ pa_e rr_e le_n ____ fl_e rr_n sa_s wa_s ____ rr_s la_w ____ ____ le_n ____ fl_s pa_s lr_e ____ le_w le_e Round 1 Creature (path_finder east 5 3) takes action: left Creature (wall_turner west 5 1) takes action: hop Creature (same_turner north 3 0) takes action: hop Creature (landmine west 6 5) takes action: infect Creature (flytrap east 5 7) takes action: left Creature (lrover south 1 6) takes action: infect Creature (same_turner east 4 2) takes action: hop Creature (alt_rover east 2 7) takes action: left Creature (lrover west 3 5) takes action: infect Creature (landmine west 0 6) takes action: infect Creature (landmine north 6 0) takes action: infect Creature (landmine west 4 4) takes action: left Creature (landmine north 4 6) takes action: infect Creature (landmine west 2 4)
JOJ Answer
Initial state rr_s le_s fl_w ____ ____ fl_w rr_w ____ la_e pa_e ____ sa_s ____ ____ lr_s ____ rr_w ____ sa_n lr_e sa_w wa_s pa_w al_e sa_n lr_e le_n lr_n fl_e pa_w sa_n sa_e pa_e fl_n sa_e lr_w lr_w pa_e la_n la_e lr_n wa_w ____ pa_e rr_e le_n ____ fl_e rr_n sa_s wa_s ____ rr_s la_w ____ ____ le_n ____ fl_s pa_s lr_e ____ le_w le_e Round 1 Creature (path_finder east 5 3) takes action: left Creature (wall_turner west 5 1) takes action: hop Creature (same_turner north 3 0) takes action: hop Creature (landmine west 6 5) takes action: infect Creature (flytrap east 5 7) takes action: left Creature (lrover south 1 6) takes action: infect Creature (same_turner east 4 2) takes action: hop Creature (alt_rover east 2 7) takes action: left Creature (path_finder west 3 5) takes action: left Creature (rrover west 0 6) takes action: infect Creature (rrover north 6 0) takes action: infect Creature (lrover west 4 4) takes action: left Creature (landmine north 4 6) takes action: infect Creature (same_turner west 2 4)