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