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

4
4
hop east 2 0
flytrap east 2 2
5
5
flytrap east 1 1
landmine south 4 4
food south 3 2
rrover north 2 0
hop west 0 3
5
5
flytrap east 1 1
landmine south 4 4
food south 3 2
lrover north 2 0
hop west 0 3
5
5
flytrap east 1 1
landmine south 4 4
food south 3 2
alt_rover north 2 0
hop west 0 3
5
5
flytrap east 1 1
landmine south 4 4
food south 3 2
rrover north 2 0
hop west 0 3
7
7
landmine west 4 5 
left north 2 3 
same_turner south 3 4 
landmine west 4 0 
same_turner east 4 3 
path_finder east 4 4 
wall_turner east 5 0 
landmine north 3 5 
same_turner north 1 6 
alt_rover east 6 0 
same_turner east 0 3 
left east 2 2 
lrover west 5 1 
path_finder north 2 4 
same_turner west 6 2 
lrover west 4 6 
alt_rover east 2 5 
left south 2 1 
rrover south 6 1 
path_finder north 1 4 
rrover east 5 5 
path_finder east 6 3 
landmine east 5 3 
left north 6 5 
lrover south 5 2 
alt_rover east 3 6 
same_turner south 2 0 
alt_rover south 3 0 
left east 0 1 
landmine north 4 1 
path_finder north 5 4 
rrover south 1 1 
lrover north

JOJ Answer

Initial state
____ ____ ____ ho_w ____ 
____ fl_e ____ ____ ____ 
al_n ____ ga_w ____ ____ 
____ ____ 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 ____ ____ ____ 
al_n ____ ga_w ____ ____ 
____ ____ fo_s sh_e ____ 
____ ____ ____ ____ la_s 
Creature (landmine south 4 4) takes action:
Instruction 1: ifwall 5
Instruction 5: left
____ ____ ____ ho_w ____ 
____ fl_n ____ ____ ____ 
al_n ____ ga_w ____ ____ 
____ ____ fo_s sh_e ____ 
____ ____ ____ ____ la_e 
Creature (food south 3 2) takes action:
Instruction 1: left
____ ____ ____ ho_w ____ 
____ fl_n ____ ____ ____ 
al_n ____ ga_w ____ ____ 
____ ____ fo_e sh_e ____ 
____ ____ ____ ____ la_e 
Creature (alt_rover north 2 0) takes action:
Instruction 1: ifenemy 8
Instruction 2: ifwall 6
Instruction 3: ifsame 6
Instruction 4: hop
____ ____ ____ ho_w ____ 
al_n fl_n ____ ____ ____ 
____ ____ ga_w ____ _