2 solutions

  • 0
    @ 2026-6-10 17:52:38
    #include <bits/stdc++.h>
    using namespace std;
    int main(){ 
    	char a,b,c;
        cin>>a>>b>>c;
        cout<<c<<b<<a;
    	return 0;
    }
    

    最简单方法,没有之一。

    Information

    ID
    1271
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    8
    Tags
    # Submissions
    18
    Accepted
    6
    Uploaded By