Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- unsigned long long a, b;
- int main(){
- unsigned long long n, m;
- // NE KOPIRUII V TUPUY
- cin >> a;
- if (a <= 28) cout << 110;
- else if (a <= 496) cout << 11100;
- else if (a <= 8128) cout << "111110000";
- else if (a <= 33550336LL) cout << "1111111000000";
- else if (a <= 8589869056LL) cout << "1111111111111000000000000";
- else if (a <= 137438691328LL) cout << "111111111111111110000000000000000";
- else if (a <= 2305843008139952128LL) cout << "1111111111111111111000000000000000000";
- else cout << "1111111111111111111111111111111000000000000000000000000000000";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement