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
la_n wa_n pa_w la_e rr_n fl_w al_n 
rr_n fl_s al_n lr_w ____ pa_n pa_e 
sa_w rr_s lr_n sa_w wa_s sa_w al_e 
al_s sa_e wa_s al_w rr_s sa_n la_e 
lr_n fl_w al_s al_w al_w lr_e lr_s 
____ ____ sa_s wa_s fl_e rr_s fl_s 
le_s le_w fl_s le_e ____ sa_s al_s 

JOJ Answer

Initial state
la_n wa_n pa_w la_e rr_n fl_w al_n 
rr_n fl_s al_n lr_w ____ pa_n pa_e 
sa_w rr_s lr_n sa_w wa_s sa_w al_e 
al_s sa_e wa_s al_w rr_s sa_n la_e 
lr_n fl_w al_s al_w al_w lr_e lr_s 
____ ____ sa_s wa_s fl_e rr_s fl_s 
le_s le_w fl_s le_e ____ sa_s al_s 
Round 1
Creature (rrover north 0 4) takes action: right
Creature (rrover north 1 0) takes action: infect
Creature (wall_turner south 5 3) takes action: hop
Creature (left east 6 3) takes action: left
Creature (same_turner east 3 1) takes action: hop
Creature (landmine east 0 3) takes action: infect
Creature (alt_rover north 0 6) takes action: left
Creature (alt_rover west 4 3) takes action: left
Creature (lrover north 2 2) takes action: infect
Creature (alt_rover west 4 4) takes action: left
Creature (rrover south 2 1) takes action: infect
Creature (alt_rover south 3 0) takes action: infect
Creature (lrover south 4 6) takes action: infect
Creature (alt_rover south 6 6) takes action: left
Creature (path_finder north 1 5) takes action: left
Creature