Number guess 1000 by murky-satyr

while(0<1){val n=readInt
var i,c=500
var j=5e2
while(n!=i){c=i-n>>>31;println(i+" "+"><"(c));i=i+j*c-j/2+.5 toInt;j/=2}
println(n+" =\n")}

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

download

return top