Number guess 1000 by leonid

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

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

download

return to the top page