Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
2^i = 100
i = 7 бит необходимо для кодирования любого от 1 до 100
64 * 7 = 448 бит = 56 байт
решаем относительно a: a=(-6*x2-c)/x4=-6*x2/x4-c/x4.
var a,b,c: array [1..100,1..100] of integer;
as,bs,cs,i,j: integer;
begin
sb: =1;
for i : = 1 to n do
for j: = 1 to n do
if a[i,j]< 0 then sa: =sa+a[i,j];
if b[i,j]> 0 then sb: =sb*b[i,j];
if j=3 then sc: =sc+c[i,j];
end;
writeln(sa,sb,sc);
end.
var a: array [1..10] of integer;
s,i,c,b: integer;
read(c,b,n);
randomize;
a[i]: = random(b) -c+1;
for i: = 1 to n do
if i mod 2 = 0 then s: =s+1;
writeln(s);
Популярные вопросы