Дамп всех задач

This commit is contained in:
2017-05-22 13:29:43 +03:00
parent b970626fef
commit 93746b05d7
173 changed files with 2505 additions and 0 deletions

22
Pascal/mass/Program8.pas Normal file
View File

@@ -0,0 +1,22 @@
const
N = 30;
var
A: array[1..N] of integer;
i, x, y: integer;
s: real;
begin
for i := 1 to N do A[i] := Random(40) + 160;
for i := 1 to N do if A[i] < 180 then A[i] := -1;
x := 200;
for i := 1 to N do
begin
if A[i] <> -1 then begin
if A[i] < x then begin
x := A[i];
end;
end;
end;
write(x);
end.