1 solutions

  • 0
    @ 2025-9-21 16:26:31
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int n,g,s,b,q;
        cin>>n;
        g=n%10;
        s=n/10%10;
        b=n/100;
        cout<<g*100+s*10+b;
    	return 0;
    }
    
    
    
    • 1

    Information

    ID
    2821
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    1
    Tags
    # Submissions
    64
    Accepted
    33
    Uploaded By