#include<stdio.h>
void jingzi(long n);
int main()
{
long n;
jingzi(150);
}
void jingzi(long n)//十进制转换为二进制
{
int r;
r=n%2;
if(n>=2)
jingzi(n/2);
putchar(r==0?'0':'1');
return ;
}
#include<stdio.h>
void jingzi(long n);
int main()
{
long n;
jingzi(150);
}
void jingzi(long n)//十进制转换为二进制
{
int r;
r=n%2;
if(n>=2)
jingzi(n/2);
putchar(r==0?'0':'1');
return ;
}