;redcode-94 ;name PM do Rio ;author Leonardo H. Liporati ;strategy Q^3 ;strategy if Something found -> save it inside a mini-HSA ;strategy else -> Die Hard ;assert CORESIZE==8000 ; KOFACOTO 4 org qGo qf equ qKil qs equ 200 qd equ 4000 qi equ 3 qr equ 22 ciaboot equ 2500 fixup equ 24 dat 0,0 qBmb jmp -(ciaboot+fixup)+pit-qKil jmp ciaboot+fixup jp1 jmp qi, (2*qi) ; -+)>] 0/1 cycles [(<+- qGo seq qd+qf+qs, qf+qs ; 1 jmp qSki, {qd+qf+qs+qi+2 sne qd+qf+5*qs, qf+5*qs ; B+1 seq qf+4*qs, {qTab ; B jmp qFas, }qTab sne qd+qf+8*qs, qf+8*qs ; A seq qf+7*qs, {qTab-1 ; A-1 jmp qFas, {qFas sne qd+qf+10*qs, qf+10*qs ; C seq qf+9*qs, {qTab+1 ; C-1 jmp qFas, }qFas seq qd+qf+2*qs, qf+2*qs ; B-2 jmp qFas, {qTab seq qd+qf+6*qs, qf+6*qs ; A-2 djn.a qFas, {qFas seq qd+qf+3*qs, qf+3*qs ; B-1 jmp qFas, {qd+qf+3*qs+qi+2 ; -+>)] 2 cycles [(<+- sne qd+qf+14*qs, qf+14*qs ; E+1 seq qf+13*qs, qTab sne qd+qf+17*qs, qf+17*qs ; D seq qf+16*qs, c0 cs spl #0 ,}dv mov dv ,}dv+space cb add.a #119 , dv+space spl imp+5334 ,}dv+space spl imp+2667 ,}dv+space imp mov.i #2667 ,*0 end