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 reach 1 reach 2 ga_w reach 2 reach 3 ____ reach 2
JOJ Answer
Initial state ga_w ____ ____ ____ ____ ____ ____ ____ ho_e ____ fl_e ____ ____ ____ ____ sh_e Round 1 Creature (hop east 2 0) takes action: hop Creature (flytrap east 2 2) takes action: left Creature (shibainu east 3 3) takes action: hop Creature (garfield west 0 0) takes action: right ga_n ____ ____ ____ ____ ____ ____ ____ ____ ho_e fl_n ____ ____ ____ ____ sh_e Round 2 Creature (hop east 2 1) takes action: hop Creature (flytrap north 2 2) takes action: left Creature (shibainu east 3 3) takes action: right Creature (garfield north 0 0) takes action: right ga_e ____ ____ ____ ____ ____ ____ ____ ____ ho_e fl_w ____ ____ ____ ____ sh_s Round 3 Creature (hop east 2 1) takes action: hop Creature (flytrap west 2 2) takes action: infect Creature (shibainu south 3 3) takes action: hop Creature (garfield east 0 0) takes action: right ga_s ____ ____ ____ ____ ____ ____ ____ ____ fl_e fl_w ____ ____ ____ ____ sh_s Round 4 Creature (flytrap east 2 1) takes action: left