1 条题解

  • 0
    @ 2026-8-1 13:47:18

    reverse是个好东西!!!

    #include <bits/stdc++.h>
    using namespace std;
    #define ll long long
    int main()
    {
        ios::sync_with_stdio(0);
        cin.tie(0);
        cout.tie(0);
        string a;
        cin >> a;
        reverse(a.begin(), a.end());
        cout << a;
        return 0;
    }
    

    信息

    ID
    291
    时间
    1000ms
    内存
    64MiB
    难度
    4
    标签
    递交数
    100
    已通过
    49
    上传者