#include <bits/stdc++.h> using namespace std; #define int long long const int N = 1E4; void solve() { int n, m, x, y, zz; cin >> n >> m >> x >> y >> zz; vector<vector<int>>a(n + 10, vector<int>(m + 10)), z(n + 10, vector<int>(m + 10)), s(...