1 solutions

  • 0
    @ 2023-1-16 9:51:31
    #include <bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int a, b = 0;
        cin >> a;
        while (a > 0)
        {
            b = b * 10 + a % 10;
            a /= 10;
        }
        cout << b;
    	return 0;
    }
    
    
    • 1

    Information

    ID
    461
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    9
    Tags
    # Submissions
    9
    Accepted
    5
    Uploaded By