7 BILLION HUMANS

Level 40: Printing Etiquette 2

Shortest and Fastest Program

-- 7 Billion Humans (2144) --
-- Level 40: Printing Etiquette 2 --
-- Shortest Program: 10 Commands --
-- Fastest Program: 55 Seconds --
mem4 = nearest printer
a:
takefrom mem4
b:
step nw,w,sw,n,s,ne,e,se
if c != nothing:
    jump b
endif
mem1 = calc mem1 + 1
write mem1
drop
if mem1 != 5:
    jump a
endif
Back