#include <iostream> #include<vector> using namespace std; int main() { int n, m, q; int x1, y1, x2, y2; cin >> n >> m >> q; //原数组 vector<vector<int>> arr(n + 1, vector<int> (m + 1)); //前缀和数组 vector<vector<long long>...