#include <stdio.h>
int main()
{
int n, i, arr[1000], j=0;
i=0;
scanf("%d", &n);
if(n==0)
{
printf("0");
}
for(;;)
{
if(n==0)
{
break;
}
else if(n!=0)
{
arr[i]=n%2;
n=n/2;
i+=1;
}
}
for(i=i-1; i>=j; i--)
{
printf("%d", arr[i]);
}
return 0;
}
Happy Friday!!!!!!!!!!!!
히히히힣히히ㅣㅎ