728x90
string 문자를 받아서 뒤에 ??!를 붙여서 출력해주면 됩니다.
#include <iostream>
#include <string>
using namespace std;
int main()
{
string s;
cin >> s;
cout << s + "??!" << endl;
return 0;
}
'알고리즘' 카테고리의 다른 글
[C++] 백준 2845번 파티가 끝나고 난 뒤 (0) | 2019.09.22 |
---|---|
[C++] 백준 11506번 占쏙옙 (0) | 2019.09.22 |
[C++] 백준 9654번 나부 함대 데이터 (0) | 2019.09.22 |
[C++] 백준 10170번 NFC West vs North (0) | 2019.09.22 |
[C++] 백준 5339번 콜센터 (0) | 2019.09.22 |