2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=2e3;ll a…… 题解列表 2024年10月20日 0 点赞 0 评论 2206 浏览 评分:0.0
编写题解 2878: 计算矩阵边缘元素之 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 480 浏览 评分:0.0
计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[100][100];int main(){ int n,m,su…… 题解列表 2023年07月20日 0 点赞 0 评论 400 浏览 评分:0.0
2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 553 浏览 评分:0.0
写题解 2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 526 浏览 评分:0.0
2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=110;int a[N][N];int main(){ in…… 题解列表 2023年12月18日 0 点赞 0 评论 405 浏览 评分:0.0
2878: 计算矩阵边缘元素之和 ```#includeusingnamespacestd;constintN=110;inta[N][N],b[N][N];intmain(){intn,m,sum=0;cin>>n>>m;for(inti=1;ia[i][j];if(i==1||i==n||j==1||j==m){sum+=a[i] 题解列表 2023年12月18日 0 点赞 0 评论 440 浏览 评分:0.0
鬼知道我写了多少遍 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e3;ll a…… 题解列表 2024年05月04日 0 点赞 0 评论 508 浏览 评分:0.0
题解 2878: 计算矩阵边缘元素之和 #includeusingnamespacestd;constintN=110;inta[N][N],sum;intmain(){intn,m;cin>>n>>m;for(inti=1;ia[i][j];if(i==1||i==n||j==1||j==m){sum+=a[i][j];}}}cout 题解列表 2023年12月18日 0 点赞 0 评论 434 浏览 评分:0.0
题解 2878: 计算矩阵边缘元素之和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月04日 0 点赞 0 评论 406 浏览 评分:0.0