Notes
This function is in beta test. Please help improve it in the issues
here.
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
total 48 drwxr-xr-x 2 icebox 1000 4096 Nov 13 12:01 . drwxr-xr-x 8 icebox 1000 4096 Nov 13 12:01 .. -rw-r--r-- 1 icebox 1000 40 Nov 13 12:01 bad_instr_species -rw-r--r-- 1 icebox 1000 83 Nov 13 12:01 exact_num_species -rw-r--r-- 1 icebox 1000 39 Nov 13 12:01 exact_prog_species -rw-r--r-- 1 icebox 1000 98 Nov 13 12:01 full_species -rw-r--r-- 1 icebox 1000 43 Nov 13 12:01 long_prog_species -rw-r--r-- 1 icebox 1000 92 Nov 13 12:01 nearly_full_species -rw-r--r-- 1 icebox 1000 37 Nov 13 12:01 no_species -rw-r--r-- 1 icebox 1000 60 Nov 13 12:01 species -rw-r--r-- 1 icebox 1000 74 Nov 13 12:01 species2 -rw-r--r-- 1 icebox 1000 95 Nov 13 12:01 too_many_species 0 creatures flytrap food hop lrover rrover alt_rover left right landmine path_finder 0Initial 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
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 ____ _