-- 7 Billion Humans (2144) --
-- Level 41: Image Decrypter --
-- Shortest Program: 8 Commands --
pickup w
a:
step w
if mem1 != myitem:
mem1 = calc mem1 + 1
jump a
endif
drop
mem1 = nearest hole
step mem1
Fastest Program
-- 7 Billion Humans (2144) --
-- Level 41: Image Decrypter --
-- Fastest Program: 14 Seconds --
step w
pickup c
mem1 = set myitem
a:
if mem1 >= 4:
step w
step w
step w
step w
mem1 = calc mem1 - 4
jump a
endif
b:
if mem1 >= 2:
step w
step w
mem1 = calc mem1 - 2
jump b
endif
if mem1 != 0:
step w
endif
drop
mem1 = nearest hole
step mem1