coroana te rog!
#include<iostream>
using namespace std;
int main(){
int a[101][101],n,m,v[101]={0};
cin>>n>>m;
for(int i=1;i<=n;i++){
int k=0;
for(int j=1;j<=m;j++){
cin>>a[i][j];
if(a[i][j]%2==0)
k++;
}
v[i]=k;
}
for(int i=1;i<=n;i++)
cout<<"pe linia "<<i<<" sunt "<<v[i]<<" elemente pare."<<endl;
return 0;
}