Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdio>
- #include <cstring>
- using namespace std;
- string a = "", b = "";
- int main() {
- int n;
- cin >> n;
- ios_base::sync_with_stdio(0);
- for (int i = 0; i < n; i++)
- a += "a";
- for (int i = 0; i < n; i++)
- b += "b";
- cout << a << endl << b << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement