1 solutions

  • 0
    @ 2026-3-7 16:22:09
    #include <bits/stdc++.h>
    using namespace std;
    int main() {
        string s;
        cin >> s;
        string t = s;
        reverse(t.begin(), t.end());
        if (s == t) cout << "yes" << endl;
        else cout << "no" << endl;
        return 0;
    }
    
    • 1

    Information

    ID
    1425
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    8
    Tags
    # Submissions
    23
    Accepted
    5
    Uploaded By