2 solutions

  • 0
    @ 2026-2-1 16:54:48

    #include

    using namespace std;

    int main() {

    int a, b, c;
    
    cin >> a;
    
    b = a % 10;
    
    c = a / 10;
    
    cout << b << c;
    
    return 0;
    

    }

    Information

    ID
    404
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    4
    Tags
    # Submissions
    207
    Accepted
    101
    Uploaded By