Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- char s[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
- char s2[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
- int main(){
- cout << 100000 << endl;
- for (int i = 1; i <= 100000 / 2; i++){
- int cur = 0, j = i;
- while (!(j & 1))
- ++cur, j = (j >> 1);
- cout << s[cur] << s[cur + 32];
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement