알고리즘

[알고리즘] 백준 8545 - Zadanie próbne (C++)

blueberrysoda 2024. 9. 30. 23:46

[문제 링크] : https://www.acmicpc.net/problem/8545

#include <iostream>
#include <algorithm>
using namespace std;

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

    reverse(S.begin(), S.end());
    cout << S << "\n";
    return 0;
}