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 Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Initial state ____ ____ fl_w la_e ____ al_s ____ sa_s ri_s ri_e wa_s fl_w ____ sa_w sa_e wa_s lr_w lr_s le_s le_n fl_n pa_w ____ fl_n ____ ____ wa_n ri_e ____ ____ sa_w rr_s rr_n ri_s sa_e wa_w le_w lr_s al_w ri_e ri_e fl_e wa_n la_s le_n rr_w ____ al_e rr_n ____ pa_s le_s la_w ____ al_e sa_s ri_s rr_s pa_e ri_e ____ la_s pa_s lr_e Round 1 Creature (landmine east 0 3) takes action: infect Creature (flytrap north 2 4) takes action: left Creature (flytrap west 0 2) takes action: left Creature (right east 3 3) takes action: right Creature (alt_rover south 0 5) takes action: infect Creature (wall_turner north 5 2) takes action: hop Creature (landmine south 5 3) takes action: infect Creature (rrover south 3 7) takes action: infect Creature (landmine south 7 5) takes action: left Creature (rrover north 6 0) takes action: infect Creature (right south 1 0) takes action: right Creature (lrover east 7 7) takes action: left Creature (lrover south 2 1) takes action: hop Creature (lrover west 2 0) takes action: le
JOJ Answer
Initial state ____ ____ fl_w la_e ____ al_s ____ sa_s ri_s ri_e wa_s fl_w ____ sa_w sa_e wa_s lr_w lr_s le_s le_n fl_n pa_w ____ fl_n ____ ____ wa_n ri_e ____ ____ sa_w rr_s rr_n ri_s sa_e wa_w le_w lr_s al_w ri_e ri_e fl_e wa_n la_s le_n rr_w ____ al_e rr_n ____ pa_s le_s la_w ____ al_e sa_s ri_s rr_s pa_e ri_e ____ la_s pa_s lr_e Round 1 Creature (landmine east 0 3) takes action: infect Creature (flytrap north 2 4) takes action: left Creature (flytrap west 0 2) takes action: left Creature (right east 3 3) takes action: right Creature (alt_rover south 0 5) takes action: infect Creature (wall_turner north 5 2) takes action: hop Creature (landmine south 5 3) takes action: infect Creature (rrover south 3 7) takes action: infect Creature (landmine south 7 5) takes action: left Creature (rrover north 6 0) takes action: infect Creature (right south 1 0) takes action: right Creature (lrover east 7 7) takes action: left Creature (lrover south 2 1) takes action: hop Creature (lrover west 2 0) takes action: le