#include<stdio.h> int main() { int n,m,x1,y1,x2,y2; long long temp,q,arr[1001][1001]={0}; scanf("%d %d %lld",&n,&m,&q); for(int i=1;i<=n;++i) for(int j=1;j<=m;++j) { scanf("%lld",&temp); arr[i][j] = temp+arr[i][j-1...