Const n=20;
var a:array[1..n] of integer;b,i,j:integer; t:boolean;
begin
Randomize;
writeln;
for i:=1 to n do begin
t:=false;
while t=false do begin
a[i]:=random(100)+1;
t:=true;
for j:=1 to i-1 do
if a[i]=a[j] then t:=false;
end;
write(a[i]:4);
end;
end.
85 100 91 43 88 27 2 40 97 81 29 95 58 24 28 84 8 12 67 6