Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

Initial state
____ ____ ____ ho_w ____ 
____ fl_e sh_e ____ ____ 
lr_n ____ ____ ____ ____ 
____ ____ fo_s ____ ____ 
____ ____ ____ ga_n la_s 
Round 1
Creature (flytrap east 1 1) takes action: ifenemy
Creature (landmine south 4 4) takes action: ifwall
Creature (food south 3 2) takes action: left
Creature (lrover north 2 0) takes action: ifenemy
Creature (hop west 0 3) takes action: hop
Creature (flytrap east 1 2) takes action: ifenemy
Creature (garfield north 4 3) takes action: ifenemy
____ ____ ho_w ____ ____ 
lr_n fl_e fl_n ____ ____ 
____ ____ ____ ____ ____ 
____ ____ fo_e ____ ____ 
____ ____ ____ ga_e la_e 
Round 2
Creature (flytrap east 1 1) takes action: go
Creature (landmine east 4 4) takes action: go
Creature (food east 3 2) takes action: go
Creature (lrover north 1 0) takes action: go
Creature (hop west 0 2) takes action: go
Creature (flytrap north 1 2) takes action: go
Creature (garfield east 4 3) takes action: go
lr_n ho_w ____ ____ ____ 
____ fl_n fl_w ____ ____ 
____ ____ ____ ____ ____ 
____ 

JOJ Answer

Initial state
____ ____ ____ ho_w ____ 
____ fl_e sh_e ____ ____ 
lr_n ____ ____ ____ ____ 
____ ____ fo_s ____ ____ 
____ ____ ____ ga_n la_s 
Round 1
Creature (flytrap east 1 1) takes action: infect
Creature (landmine south 4 4) takes action: left
Creature (food south 3 2) takes action: left
Creature (lrover north 2 0) takes action: hop
Creature (hop west 0 3) takes action: hop
Creature (flytrap east 1 2) takes action: left
Creature (garfield north 4 3) takes action: right
____ ____ ho_w ____ ____ 
lr_n fl_e fl_n ____ ____ 
____ ____ ____ ____ ____ 
____ ____ fo_e ____ ____ 
____ ____ ____ ga_e la_e 
Round 2
Creature (flytrap east 1 1) takes action: left
Creature (landmine east 4 4) takes action: left
Creature (food east 3 2) takes action: left
Creature (lrover north 1 0) takes action: hop
Creature (hop west 0 2) takes action: hop
Creature (flytrap north 1 2) takes action: left
Creature (garfield east 4 3) takes action: left
lr_n ho_w ____ ____ ____ 
____ fl_n fl_w ____ ____ 
__