Number guess 1000 by nn

for(;n=readline();)for(d=v=500;print(v=v+.5|0,n-v?v<n?'<':'>':'=\n')|n-v;v+=v<n?d:-d)d/=2

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

download

return to the top page