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 ____ lr_w le_s rr_w sa_n lr_w ri_n le_n rr_w rr_w al_w la_n sa_e sa_n al_n al_w ____ lr_w fl_n ____ sa_n pa_w pa_e wa_e ri_w al_w wa_s ri_s pa_s wa_n lr_n rr_w le_s ____ al_e al_n sa_e rr_w ____ ____ ____ rr_w la_e ____ fl_w ____ ____ ____ ____ wa_e sa_s le_e wa_w pa_s rr_e sa_e pa_n ____ ____ pa_w lr_e la_n wa_e sa_s Round 1 Creature (alt_rover west 1 2) takes action: infect Creature (landmine north 7 5) takes action: infect Creature (wall_turner south 3 2) takes action: hop Creature (wall_turner north 3 5) takes action: hop Creature (right south 3 3) takes action: right Creature (same_turner north 2 4) takes action: left Creature (alt_rover west 3 1) takes action: infect Creature (landmine south 6 5) takes action: left Creature (same_turner east 1 4) takes action: left Creature (rrover east 6 6) takes action: infect Creature (wall_turner east 6 1) takes action: hop Creature (alt_rover north 4 3) takes action: infect Creature (same_turner south 6 2) takes action: hop Creature (same_turn