5 a: array [1..maxn] of longint;
\r
7 procedure put(x, y: longint);
\r
11 for i := 1 to n do begin
\r
12 if a[i] = x then begin
\r
13 t := a[i]; a[i] := a[y]; a[y] := t;
\r
20 randseed := 30747747;
\r
23 for i := 1 to n do begin
\r
35 for i := 1 to n do begin
\r