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 fl_e fo_w ho_s fo_w fl_e fo_w fo_w fl_e fo_w fl_e fo_w ho_s Round 1 Creature (flytrap east 0 0) takes action: infect Creature (flytrap west 0 1) takes action: left Creature (hop south 0 2) takes action: hop Creature (food west 0 3) takes action: left Creature (flytrap east 0 4) takes action: left Creature (food west 0 5) takes action: left Creature (hop south 0 6) takes action: hop Creature (food west 0 7) takes action: left Creature (flytrap east 0 8) takes action: left Creature (food west 0 9) takes action: left Creature (hop south 0 10) takes action: hop Creature (food west 1 0) takes action: left Creature (flytrap east 1 1) takes action: infect Creature (flytrap west 1 2) takes action: left Creature (hop south 1 3) takes action: hop Creature (food west 1 4) takes action: left Creature (flytrap east 1 5) takes action: left Creature (food west 1 6) takes action: left Creature (hop south 1 7) takes action: hop Creature (food west 1 8) takes action: left Creature (flytrap east 1 9) takes act
JOJ Answer
Error: Too many creatures! Maximal number of creatures is 50.