Directions of the star road by nn

r=[i=j=t=32]
for(System.in.each{it<t?i+=t-i%t:(r[i++]=it)};[k=-1,r[j]=2,31,-64,-1,2,62,2].any{k++;r[j+=it]>t};)print'--||\\//\\'[k]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page