#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
string s;
while (getline(cin, s)) {
if (s == "END") break;
reverse(s.begin(), s.end());
cout << s << "\n";
}
}
'Algorithm ๐ง๐ปโ๐ป > ๋ฐฑ์ค(BOJ)' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๋ฐฑ์ค,c++] 11403๋ฒ - ๊ฒฝ๋ก ์ฐพ๊ธฐ (0) | 2021.10.27 |
---|---|
[๋ฐฑ์ค,c++] 11399๋ฒ - ATM (0) | 2021.10.27 |
[๋ฐฑ์ค,c++] 1138๋ฒ - ํ ์ค๋ก ์๊ธฐ (0) | 2021.10.27 |
[๋ฐฑ์ค,c++] 11328๋ฒ - strfry (0) | 2021.10.27 |
[๋ฐฑ์ค,c++] 11286๋ฒ - ์ ๋๊ฐ ํ (0) | 2021.10.27 |
[๋ฐฑ์ค,c++] 11279๋ฒ - ์ต๋ ํ (0) | 2021.10.27 |
๋๊ธ