#include <cstdio> void f(int n) { printf("%d",n%2); if(n/2) f(n/2); } int main() { int n; scanf("%d",&n); f(n); return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: