Number guess 1000 by aglias

#!ruby -n
n=1e3;s=0;i=$_.to_i;puts"%d %c"%[s=(s>i ?s-n/=2:s+n/=2).round,s==i ?61:s>i ?62:60]while i!=s;puts

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

download

return to the top page