Knight move sorted by ETHproductions

for(;r=parseInt(readline(s=""),18)-39;print(s.trim()))for(i=506478097;i;i>>=4)178<(r+=i%16||31)&r<314&r++%18<8?s+=r.toString(18)+" ":0

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page