1. 11110110011 = 3663<span> (8)
2. </span>110110101 = 665<span> (8)
3. </span>110100110 = 646<span> (8)
4. </span>10100110 = 246<span> (8)
5. </span>1000011 = 103<span> (8)
6. </span>1101010,1100 = 152.6<span> (8)
7. </span>1010110,0101 = 126.24<span> (8)
8. </span>11010,01101 = 32.32<span> (8)
9. </span>1000,1101 = 10.64<span> (8)
10. </span>11101,001 (2) = <span>35.1</span> (8)
<span>256 называется VGA обычно так называется.</span>
Var a: array[1..100] of integer;
<span> i,n,bg,nd,s: integer;
</span><span>begin
</span><span> write('n = '); readln(n);
</span><span> randomize;
</span><span> bg:=0; nd:=0;
</span><span> for i:=1 to n do
</span><span> begin
</span><span> a[i]:=random(10);
</span><span> write(a[i],' ');
</span><span> if a[i]=0 then
</span><span> if (bg>0) and (nd=0) then nd:=i
</span><span> else if bg=0 then bg:=i;
</span><span> end;
</span><span> writeln;
</span><span> if bg+nd>1 then
</span><span> begin
</span><span> if (bg mod 2=0) then inc(bg)
</span><span> else bg:=bg+2;
</span><span> if (nd mod 2=0) then dec(nd)
</span><span> else nd:=nd-2;
</span><span> writeln('начало: ',bg,' конец: ',nd);
</span><span> s:=1;
</span><span> repeat
</span><span> s:=s*a[bg];
</span><span> bg:=bg+2;
</span><span> until bg>nd;
</span><span> writeln('произведение: ',s);
</span><span> end
</span><span> else writeln(0);
</span><span>end.
</span>
n = 15
<span>4 4 7 0 3 5 6 1 1 8 8 4 0 1 9
</span><span>начало: 5 конец: 11
</span><span>произведение: 144
</span>