main(){float f,k=1024,m=k*k;for(;~scanf("%f",&f);printf(f<k?"%.0f\n":"%.2f %cB\n",f/(f<k?:f<m?k:m),f<m?75:77));}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page