#include <iostream> #include <vector> using namespace std; int main() { int x, y, z; cin >> x; cin >> y; cin >> z; vector<vector<int>> mat1(x, vector<int>(y, 0)); for (int i = 0; i < x; i ++) { for (int j = 0; j < y; j ++) { cin >> mat1[i][...