题目要求 解题思路 水题,细心即可 代码 #include <bits/stdc++.h> using namespace std; #define ll long long const ll maxn=1e3+10; ll a[maxn][maxn]; int main