int main() { int a,m,n; cout<<"Podaj m "<cin>>m; cout<<"Podaj n "<cin>>n; int tab[100][100]; srand(time(0)); for (int i=1;i<=m;++i) { for (int k=1;k<=n;++k) { tab[i][k]=rand()%2; cout< } cout< } int s[100]; for (int i=1;i<=m;++i) { for (int k=1;k<=n;++k) if (tab[i][k]==0) s[i]=s[i]+1; cout<<"W wierszu "< } system("pause"); return 0; }