1024: [编程入门]矩阵对角线求和 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int a[100][100];int main(){ int sum,sum1; for…… 题解列表 2023年07月20日 0 点赞 0 评论 411 浏览 评分:9.9
1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[100][100];int main(){ int sum=0,…… 题解列表 2023年07月20日 0 点赞 0 评论 142 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:解题思路:硬加法注意事项:参考代码:#include <iostream>using namespace std;int n,m,a[100][100],sum=0,b=0;int main(){ …… 题解列表 2023年07月20日 0 点赞 0 评论 194 浏览 评分:9.9
1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:#include<iostream>using namespace std;int main(){ int s[3][3],sum1=0,sum2=0; for(int…… 题解列表 2023年07月20日 0 点赞 0 评论 353 浏览 评分:0.0
[编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[3][3]; for(int i=0…… 题解列表 2023年05月17日 0 点赞 0 评论 163 浏览 评分:0.0
如何计算副对角线 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main() { int a[3][3]; for(int i …… 题解列表 2023年03月10日 0 点赞 0 评论 487 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:```cpp #include using namespace std; /* 求一个3×3矩阵对角线元素之和。 输入格式 矩阵 输出格式 主对角线 副对角线 元素和 样例输入 1…… 题解列表 2023年02月19日 0 点赞 1 评论 273 浏览 评分:9.9
编写题解 1024: [编程入门]矩阵对角线求和 适合新手理解体会 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main() { int k,p=0; int a[…… 题解列表 2023年01月07日 0 点赞 0 评论 132 浏览 评分:0.0
编写题解 1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>int main(){ int i,a[9]; for(i=0;i<9;i++) { scanf("%d",&a[i]);…… 题解列表 2022年12月05日 0 点赞 0 评论 531 浏览 评分:9.9
没用数组,简单处理 摘要:解题思路:没用数组参考代码:#include<iostream>using namespace std;int main(){ int i,s[9]; for(i=0;i<9;i++) c…… 题解列表 2022年10月27日 0 点赞 0 评论 159 浏览 评分:0.0