#include<stdio.h>
#include<math.h>
int main()
{
int a,i;
unsigned long long sum=0;
scanf("%d",&a);
for(i=1;;i++)
{
sum=sum+a%2*pow(10,i-1) ;
a=a/2;
if(a==0)
{break;
}
}
printf("%016llu",sum);
return 0;
}
标签:10,a%,int,sum,long,include,10.15 From: https://blog.51cto.com/u_15758636/5759212