(60*1024*1024*8)/(16*1000*2*24)=655,36с
655,36/60=11мин
39₁₀=100111
78₁₀=1001110
122₁₀= 1111010
№2.
1001₂=9
111₂=3
10011₂=19
№3.
11₂+111₂=1010
10011₂+1011₂=11110
1100₂+111₂ =10<span>011</span>
Const n=8;
var a:array[1..n,1..n] of integer;
i,j:integer;
begin
for i:=1 to n do a[i,i]:=n-i+1;
for i:=1 to n do
begin
for j:=1 to n do write(a[i,j]:2);
writeln;
end;
end.
Пример:
8 0 0 0 0 0 0 0
0 7 0 0 0 0 0 0
0 0 6 0 0 0 0 0
0 0 0 5 0 0 0 0
0 0 0 0 4 0 0 0
0 0 0 0 0 3 0 0
0 0 0 0 0 0 2 0
0 0 0 0 0 0 0 1