2 solutions

  • 0
    @ 2023-9-23 16:36:49

    #include<iostream> using namespace std; int main(){ int n; cin>>n; int b=n%10*10+a/10; if(n%10==0){ cout<<"0"<<a/10; }else{ cout<<b; } return 0;

    Information

    ID
    291
    Time
    1000ms
    Memory
    64MiB
    Difficulty
    7
    Tags
    # Submissions
    15
    Accepted
    10
    Uploaded By