1 2 3 4 5 6 7 8 9 10 11 12 13 | #include <iostream> #include <string> using namespace std; int main(void){ string str; getline(cin, str); int value = stoi(str, nullptr); for (int i=0; i<value; i++) cout << "Ann"; return 0; } |
Direct link: https://paste.plurk.com/show/2321777