백준 algorithm

백준 10926 ??!

cosmohoo 2022. 7. 18. 21:47
반응형

문제설명

 

예제 입력 1 복사

joonas

예제 출력 1 복사

joonas??!

예제 입력 2 복사

baekjoon

예제 출력 2 복사

baekjoon??!
 
#include <string>
#include <algorithm>

#include <iostream>

using namespace std;

int main() {
    string s; 
    cin >> s; 

    s += "??!";

     cout << s;
    return 0;
}
반응형