d(x){x&&(d(x/2),printf("%d",x%2));}main(a){scanf("%d",&a);d(a);return 0;}
5
101
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!