for(;n=readline(b=1023);print(n<b?n:(x<b?x:x/b).toFixed(2)+(x<b?" KB":" MB")))x=n/b

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

download

return to the top page