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 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Error: Instruction is not recognized!
JOJ Answer
Initial state le_w ____ ____ la_s pa_w rr_w wa_s lr_n le_n ri_n fl_e le_w ri_s ri_n fl_s fl_w rr_e la_n lr_w pa_e ri_w le_s le_n al_e fl_e ____ sa_s al_e ____ wa_n ____ al_e ____ ____ sa_s rr_s ri_s pa_s ____ ____ pa_w lr_w le_e al_n la_w fl_w wa_n wa_e ri_w lr_w fl_n ____ fl_e pa_s ____ ri_w rr_s le_s pa_s la_s ____ ____ al_s ____ Round 1 Creature (flytrap east 1 2) takes action: infect Creature (flytrap west 5 5) takes action: infect Creature (right north 1 5) takes action: right Creature (path_finder east 2 3) takes action: left Creature (flytrap west 5 4) takes action: infect Creature (left north 2 6) takes action: left Creature (rrover west 0 5) takes action: infect Creature (lrover west 6 1) takes action: infect Creature (left south 2 5) takes action: left Creature (wall_turner north 3 5) takes action: hop Creature (rrover south 4 3) takes action: infect Creature (path_finder south 6 5) takes action: hop Creature (flytrap east 3 0) takes action: left Creature (left north 1 0) takes action: left