步数
-- 30: 鋪滿地面 --
mem4 = nearest printer
a:
takefrom mem4
step nw,w,sw,n,s,ne,e,se
drop
jump a
速度
-- 30: 鋪滿地面 --
mem4 = nearest printer
if n == nothing:
a:
takefrom mem4
step n
step n
step w
step w
step w
step w
b:
if c == datacube:
step nw,w,sw,n,s,ne,e,se
jump b
endif
drop
jump a
endif
if n == wall and
w == nothing:
c:
takefrom mem4
step e
step e
step e
step e
step s
step s
step e
step e
step e
d:
if c == datacube:
step nw,w,sw,n,s,ne,e,se
jump d
endif
drop
jump c
endif
if s == wall and
w == nothing:
e:
takefrom mem4
step w
step w
step w
step w
step s
step s
step s
f:
if c == datacube:
step nw,w,sw,n,s,ne,e,se
jump f
endif
drop
jump e
endif
if n == wall and
e == worker:
g:
takefrom mem4
step e
step e
step e
step e
step n
step n
h:
if c == datacube:
step nw,w,sw,n,s,ne,e,se
jump h
endif
drop
jump g
endif
if n == wall and
e == wall:
i:
takefrom mem4
step e
step e
step e
step s
step s
step s
j:
if c == datacube:
step nw,w,sw,n,s,ne,e,se
jump j
endif
drop
jump i
endif
if s == wall and
e == worker:
k:
takefrom mem4
step e
step s
step s
step w
l:
if c == datacube:
step nw,w,sw,n,s,ne,e,se
jump l
endif
drop
jump k
endif
m:
takefrom mem4
step nw,w,sw,n,s,ne,e,se
drop
jump m