1 solutions

  • 1
    @ 2026-1-25 14:32:16

    #include <bits/stdc++.h>

    using namespace std;

    int main() {

    int n, a, b, c,d;
    
    cin >> n;
    
    a = n % 10;
    
    n = n / 10;
    
    b = n % 10;
    
    n = n / 10;
    
    c = n % 10;
    
    d=a*100+b*10+c;
    
    cout << d;
    
    return 0;
    

    }

    • 1

    Information

    ID
    544
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    6
    Tags
    # Submissions
    255
    Accepted
    75
    Uploaded By