#import<cstdio> int i,x,s[99];main(){for(scanf("%d",&x);x;x/=2)s[i++]=x&1;for(;i;)putchar(s[--i]+48);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page