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 ____ ____ ____ 
rr_n ga_e ____ ____ ____ 
____ ____ fo_s ____ sh_e 
____ ____ ____ ____ la_s 
Round 1
Creature (flytrap east 1 1) takes action: ifenemy
Instruction 1: ifenemy 4
Instruction 2: left
____ ____ ____ ho_w ____ 
____ fl_n ____ ____ ____ 
rr_n ga_e ____ ____ ____ 
____ ____ fo_s ____ sh_e 
____ ____ ____ ____ la_s 
Creature (landmine south 4 4) takes action: ifwall
Instruction 1: ifwall 5
Instruction 5: left
____ ____ ____ ho_w ____ 
____ fl_n ____ ____ ____ 
rr_n ga_e ____ ____ ____ 
____ ____ fo_s ____ sh_e 
____ ____ ____ ____ la_e 
Creature (food south 3 2) takes action: left
Instruction 1: left
____ ____ ____ ho_w ____ 
____ fl_n ____ ____ ____ 
rr_n ga_e ____ ____ ____ 
____ ____ fo_e ____ sh_e 
____ ____ ____ ____ la_e 
Creature (rrover north 2 0) takes action: ifenemy
Instruction 1: ifenemy 8
Instruction 2: ifwall 6
Instruction 3: ifsame 6
Instruction 4: hop
____ ____ ____ ho_w ____ 
rr_n fl_n ____ ____ ____ 
____ ga_e ____ ____ ____ 
____ __

JOJ Answer

Initial state
____ ____ ____ ho_w ____ 
____ fl_e ____ ____ ____ 
rr_n ga_e ____ ____ ____ 
____ ____ fo_s ____ sh_e 
____ ____ ____ ____ la_s 
Round 1
Creature (flytrap east 1 1) takes action:
Instruction 1: ifenemy 4
Instruction 2: left
____ ____ ____ ho_w ____ 
____ fl_n ____ ____ ____ 
rr_n ga_e ____ ____ ____ 
____ ____ fo_s ____ sh_e 
____ ____ ____ ____ la_s 
Creature (landmine south 4 4) takes action:
Instruction 1: ifwall 5
Instruction 5: left
____ ____ ____ ho_w ____ 
____ fl_n ____ ____ ____ 
rr_n ga_e ____ ____ ____ 
____ ____ fo_s ____ sh_e 
____ ____ ____ ____ la_e 
Creature (food south 3 2) takes action:
Instruction 1: left
____ ____ ____ ho_w ____ 
____ fl_n ____ ____ ____ 
rr_n ga_e ____ ____ ____ 
____ ____ fo_e ____ sh_e 
____ ____ ____ ____ la_e 
Creature (rrover north 2 0) takes action:
Instruction 1: ifenemy 8
Instruction 2: ifwall 6
Instruction 3: ifsame 6
Instruction 4: hop
____ ____ ____ ho_w ____ 
rr_n fl_n ____ ____ ____ 
____ ga_e ____ ____ ____