#include<stdio.h>
int main()
{
int a,i=0,b[64];
printf("%d/n",a,scanf("%d",&a));
while(a>0)
{
b[i++]=a%2;
a=a>>1;
}
i-=1;
while(i>=0)
{
printf("%d",b[i--]);
}
printf("/n");
return 0;
}
#include<stdio.h>
int main()
{
int a,i=0,b[64];
printf("%d/n",a,scanf("%d",&a));
while(a>0)
{
b[i++]=a%2;
a=a>>1;
}
i-=1;
while(i>=0)
{
printf("%d",b[i--]);
}
printf("/n");
return 0;
}