//第一种:双层循环暴力枚举#include<iostream>using namespace std;const int n = 30,m= 20;int a[n][m];long long res;int count(int x,int y){ int tmp = 0; for(int i = x;i < x + 5 ;i++){ for(int j = y;j < y + 5;j++){ tmp += a[i][j]; } } return tmp;}in...