Дипломная работа: Восьмиэлементные ассоциативные кольца
n:real;
f,f1:text;
procedure sc(var a1:mas);
var i,j:integer;
begin
assign(f1,'a:\z2summ.txt');
reset(f1);
for i:=0 to 7 do begin
for j:=0 to 7 do read(f1,a1[i,j]);
readln(f1);
end;
close(f1);
end;
procedure zap(i1,i2,i3,i4,i5,i6,i7,i8,i9:integer;a1:mas; var r:integer);
var i,j,t1,t2,t3,t4,q:integer;
begin
q:=0;
for t1:=0 to 7 do a[0,t1]:=0;
for t2:=1 to 7 do a[t2,0]:=0;
a[1,1]:=i1; a[1,2]:=i2; a[1,3]:=i3;
a[2,1]:=i4; a[2,2]:=i5; a[2,3]:=i6;
a[3,1]:=i7; a[3,2]:=i8; a[3,3]:=i9;
for t3:=1 to 3 do begin
a[t3,4]:=a1[a[t3,1],a[t3,2]];
a[t3,5]:=a1[a[t3,1],a[t3,3]];
a[t3,6]:=a1[a[t3,2],a[t3,3]];
a[t3,7]:=a1[a[t3,1],a[t3,6]];
end;
for t4:=1 to 7 do begin