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, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.

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

Your Answer

Initial state
pa_s la_n pa_w pa_n wa_s la_n le_w pa_e 
pa_s ____ la_s le_e le_w ____ ri_w wa_n 
wa_n ____ fl_n le_n le_s ____ ____ fl_e 
____ ____ sa_w le_s ____ le_e ri_e la_s 
pa_s le_n ri_s rr_s le_e ____ la_e ____ 
al_n lr_s fl_s wa_s wa_s ____ pa_n pa_w 
lr_e la_s pa_n ri_w ____ lr_w rr_e ____ 
lr_n le_e pa_s le_s le_n la_s ____ fl_n 
Round 1
Creature (path_finder west 0 2) takes action: 

JOJ Answer

Initial state
pa_s la_n pa_w pa_n wa_s la_n le_w pa_e 
pa_s ____ la_s le_e le_w ____ ri_w wa_n 
wa_n ____ fl_n le_n le_s ____ ____ fl_e 
____ ____ sa_w le_s ____ le_e ri_e la_s 
pa_s le_n ri_s rr_s le_e ____ la_e ____ 
al_n lr_s fl_s wa_s wa_s ____ pa_n pa_w 
lr_e la_s pa_n ri_w ____ lr_w rr_e ____ 
lr_n le_e pa_s le_s le_n la_s ____ fl_n 
Round 1
Creature (path_finder west 0 2) takes action: left
Creature (left north 4 1) takes action: left
Creature (left south 7 3) takes action: left
Creature (wall_turner south 5 3) takes action: hop
Creature (landmine south 3 7) takes action: infect
Creature (wall_turner north 1 7) takes action: hop
Creature (wall_turner south 0 4) takes action: hop
Creature (wall_turner north 2 0) takes action: hop
Creature (right west 1 6) takes action: right
Creature (flytrap south 5 2) takes action: infect
Creature (left east 3 5) takes action: left
Creature (rrover south 4 3) takes action: infect
Creature (left north 7 4) takes action: left
Creature (path_finder south 0 0) takes actio