Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
ответ 2)
5`120`000 бит = 640 000 байт = 625 кб
s : = 1 ;
for i : = 1 to n do
if a[i] mod 3 = 0 then
s : = s * a[i];
writeln(s);
var a,b,c: array [1..100,1..100] of integer;
as,bs,cs,i,j: integer;
begin
sb: =1;
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.
Популярные вопросы