Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<fstream>
- #include<string.h>
- #include<cmath>
- using namespace std;
- ifstream fin("numere.in");
- int a[100][100];
- int main()
- {
- int n,m,k, i, j;
- cin>>n>>m>>k;
- for(i=1; i<=n; i++)
- for(j=1; j<=m; j++)
- cin>>a[i][j];
- for(i=1; i<=n; i++)
- if(a[k][i]%2)
- cout<<a[k][i]<<" ";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement