Recent Posts
Notice
No Rules Rules
??! (feat. 백준, 10926번) 본문
728x90
반응형
??!
https://www.acmicpc.net/problem/10926
반응형
// woohyeon.kim
// kim519620.tistory.com
#include <iostream>
#include <string>
using namespace std;
int main() {
ios::sync_with_stdio(false), cin.tie(NULL);
string str;
cin >> str;
str.append("??!");
cout << str;
return 0;
}
// *&)*@*
string의 append 함수를 이용하여 문자열을 뒤에 붙일 수 있습니다.
728x90
반응형
'생활 > 코테' 카테고리의 다른 글
킹, 퀸, 룩, 비숍, 나이트, 폰 (feat. 백준, 3003번) (0) | 2022.08.09 |
---|---|
1998년생인 내가 태국에서는 2541년생?! (feat. 백준, 18108번) (0) | 2022.08.09 |
사칙연산 (feat. 백준, 10869번) (0) | 2022.08.09 |
A/B (feat. 백준, 1008번) (0) | 2022.08.09 |
A×B (feat. 백준, 10998번) (0) | 2022.08.09 |
Comments