Scale byte values by macik

import std.stdio;void main(){for(float x,t=1024;scanf("%f",&x)>0;)x<t?writeln(x):(x/=t,printf("%.2f %cB\n",x<t?x:x/t,x<t?75:77));}

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

download

return to the top page