Number guess 1000 by leonid

#!ruby -n
g=d=1e3
k=1
puts"#{g=0|0.5+g-k*d/=2} "<<?=+k=g<=>$_.to_i while 0!=k
puts

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

download

return top