- 题解
Ssb
- 2023-8-7 15:52:26 @
#include<bits/stdc++.h> using namespace std; int main() { long long a,b,c,d=0; cin>>a>>b; for(int i=1;i<=a;i++) { for(int j=1;j<=b;j++) { cin>>c; if(i1 || ia || j1 || jb) { d=d+c; } } } cout<<d; return 0; }
0 comments
No comments so far...