Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namesapce std;
- int main(){
- long long n;
- cin >> n;
- for (int power = 63; power >= 0;power++) cout << (bool)((1LL << power) & n);
- cout << '\n';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement