1 solutions

  • 0
    @ 2025-11-5 17:27:01

    Pascal :

    var s,i,j,n:integer;
    begin
    readln(n);
    read(j);
    s:=j;
    for i:=2 to n do
    begin
      read(j);
      if s>j then s:=j;
      end;
      writeln(s);
    end.
    
    • 1

    Information

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