Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- long long x;
- int i;
- while(~scanf("%lld", &x)){
- for(i = 63; i >= 0; i--){
- //printf("%d", ((x >> i) & 1));
- putchar('0'+((x>>i)&1));
- }
- putchar('\n');
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment