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 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


        

JOJ Answer

Initial state
lr_e pa_e sa_w ri_n la_w ____ lr_w lr_s 
fl_w fl_e pa_n lr_n rr_e rr_s lr_w al_e 
rr_w ____ sa_s le_e rr_s wa_n ____ la_w 
fl_n la_s le_n fl_s fl_w sa_s pa_s lr_n 
rr_w le_s ____ al_w la_n sa_e ____ ____ 
lr_n la_s ____ ____ la_e rr_w lr_s ____ 
____ wa_w pa_e le_n fl_s al_n rr_e ____ 
le_w ri_w pa_n wa_s ____ ____ ____ al_s 
Round 1
Creature (lrover north 1 3) takes action: infect
Creature (flytrap north 3 0) takes action: infect
Creature (lrover west 1 6) takes action: infect
Creature (wall_turner south 7 3) takes action: left
Creature (path_finder south 3 6) takes action: hop
Creature (flytrap west 2 0) takes action: left
Creature (alt_rover west 4 3) takes action: hop
Creature (flytrap south 3 3) takes action: left
Creature (flytrap west 3 4) takes action: left
Creature (path_finder east 0 1) takes action: left
Creature (rrover east 1 4) takes action: infect
Creature (rrover west 5 5) takes action: infect
Creature (landmine west 0 4) takes action: infect
Creature (path_finder north 1 2) take