You are viewing a single comment's thread. Return to all comments →
int main() { string a, b; cin >> a >> b; cout << a.length() << " " << b.length() << endl; cout << a + b << endl; string a_(a), b_(b); a_[0] = b[0]; b_[0] = a[0]; cout << a_ << " " << b_ << endl; return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Strings
You are viewing a single comment's thread. Return to all comments →