FunlOvEe, не так, begin end зря вставлял uses crt; const m=4; n=6; var i,j,t,sum:integer; a:array[1..m,1..n] of integer; begin clrscr; for i:=1 to m do for j:=1 to n do begin write('a[',i,',',j,'] = '); read(a[i,j]); end; for i:=1 to m do begin t:=1; sum:=0; for j:=1 to n div 2 do if (a[i,j*2] mod 2 = 0) then t:=0; sum:=sum+t; end; writeln("Result=",sum); readkey; end.