#include #include #include #include #include using namespace std; int a[2001][2001],n,m,x; int t[201][201]; int main() { cin >> n >> m >> x; for (int i = 0; i < n; ++i) { for (int j = 0; j < m; ++j) { cin >> t[i][j]; } } for (int i=0; i