Record Case Detail

Notes

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

Stderr

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid

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 -6, which should be 0.

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

Your Answer

Initial state
lr_n la_w wa_n sa_s al_n le_e ____ 
pa_w fl_w rr_w le_e le_w sa_e ____ 
lr_n al_w rr_s ____ rr_w la_s fl_n 
lr_n fl_e wa_e ____ sa_s lr_s le_n 
pa_s le_e sa_e la_w pa_e la_n al_n 
sa_e la_n lr_s fl_w wa_w pa_s la_e 
wa_s rr_s lr_n rr_w le_w lr_e le_s 

JOJ Answer

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