1 solutions

  • 0
    @ 2024-12-4 19:37:03

    Pascal :

    var  s,i:integer;
    begin
    s:=0;
    for i:=1  to 100 do
      s:=s+I;
      writeln(s);
    end.
    

    Python :

    # coding=utf-8
    print(5050)
    
    • 1

    Information

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