1 solutions

  • 0
    @ 2025-11-5 16:32:27

    Pascal :

    program ex(input,output);
    var
      a,bw,sw,gw:integer;
    begin
      while not eof(input) do
       begin
        readln(a);
        bw:=a div 100;
        sw:=(a - bw*100) div 10;
        gw:=a mod 10;
        writeln(gw,sw,bw);
       end;
    end.
      
    
    • 1

    Information

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