1 solutions

  • 0
    @ 2025-11-5 17:30:45

    Pascal :

     var a,n,s:integer;
     begin
     s:=0;
     readln(n);
     for a:=1 to n do
       s:=s+a;
       writeln('s=',s);
     end.
    
    • 1

    Information

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