Дипломная работа: Восьмиэлементные ассоциативные кольца
for j2:=0 to 7 do begin
if b[j1,j2]=-5 then b[j1,j2]:=3;
if b[j1,j2]=-3 then b[j1,j2]:=5;
end;
for q3:=0 to 7 do begin
for w3:=0 to 7 do write(b[q3,w3],' ');
writeln;
end;
end;
procedure prov(b:mas);
var q,i3,j3,t,m,x,i4,j4:integer;
a1:mas;
begin
t:=1;
reset(f);
rewrite(f1);
for m:=1 to 9 do readln(f);
while t<=p do begin
for i3:=0 to 7 do begin
for j3:=0 to 7 do read(f,a1[i3,j3]);
readln(f);
end;
q:=0;
for i3:=0 to 7 do
for j3:=0 to 7 do begin
if a1[i3,j3]=b[i3,j3] then inc(q); end;
if q<>64 then
{for x:=1 to 9 do readln(f) else}
begin