3 solutions

  • 1
    @ 2026-4-24 20:11:11
     #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        string a;
        cin>>a;
        reverse(a.begin(),a.end());
        cout<<a;
        return 0; 
    }
    
    

    Information

    ID
    100
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    49
    Accepted
    34
    Uploaded By