1 solutions

  • 0
    @ 2025-11-5 15:32:00

    C++ :

    #include<bits/stdc++.h>
    using namespace std;
    int a;
    int main(){
    	cin>>a;
    	cout<<a%10<<a/10;
        return 0;
    }
    

    Pascal :

    var  a:integer;
    begin
      readln(a);
      writeln(a mod 10,a div 10);  
    end.
    
    • 1

    Information

    ID
    16895
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By