Дипломная работа: Восьмиэлементные ассоциативные кольца
if a[i,j]=3 then a[i,j]:=-3;
if a[i,j]=y[3] then a[i,j]:=-y[3];
end;
for i:=0 to 7 do
for j:=0 to 7 do begin
if a[i,j]=-3 then a[i,j]:=y[3];
if a[i,j]=-y[3] then a[i,j]:=3;
end;
for i:=0 to 7 do
for j:=0 to 7 do b[i,j]:=a[i,j];
{glav(b);}
for i:=0 to 7 do begin
for j:=0 to 7 do write(f,b[i,j],' ');
writeln(f);
end;
writeln(f);
end;
procedure new5(b,a:mas);
var i,j,z1,z2,i1:integer;
begin
for i:=1 to 5 do begin
if i mod 2<>0 then begin
for j:=0 to 7 do begin
z1:=b[2,j]; b[2,j]:=b[3,j]; b[3,j]:=z1;
end;
for j:=0 to 7 do begin
z2:=b[j,2]; b[j,2]:=b[j,3]; b[j,3]:=z2;
end;
for i1:=0 to 7 do