본문 바로가기
백준

[11365] !밀비 급일

by Jcoder 2018. 8. 24.


#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
while (1)
{
string s;
getline(cin, s);
if (s == "END")
break;
reverse(s.begin(), s.end());
cout << s << endl;
}
return 0;
}


'백준' 카테고리의 다른 글

[11367] Report Card Time  (0) 2018.08.24
[11366] Tons of Orcs, no Fibbin’  (0) 2018.08.24
[2635] 수 이어가기  (0) 2018.08.24
[4796] 캠핑  (0) 2018.08.24
[11895] 속이기  (0) 2018.08.23