旧物有情 # 手算法求矩阵对角线和 摘要:``` #include using namespace std; int main(){ int a[3][3]; for(int i=0; ia[i]…… 题解列表 2024年10月10日 0 点赞 0 评论 194 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.3 摘要:解题思路和注意事项::1、要输入3×3的矩阵,我们很容易想到要先定义一个二维数组,定义格式为arr[3][3];2、定义之后就用for循环输入矩阵,要注意数组的下表是从0开始,且不能超过3;3、主对角…… 题解列表 2024年07月14日 0 点赞 0 评论 213 浏览 评分:9.9
编写题解 1024: [编程入门]矩阵对角线求和 摘要:解题思路:采用指针数组思路做题注意事项:参考代码:#includeint main(){ int arr[3][3]; int i = 0; int (*p)[3]=arr; …… 题解列表 2024年06月26日 0 点赞 0 评论 205 浏览 评分:9.9
编写题解 1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N=50; i…… 题解列表 2024年05月12日 0 点赞 0 评论 104 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 244 浏览 评分:0.0
编写题解 1024: [编程入门]矩阵对角线求 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月12日 0 点赞 0 评论 150 浏览 评分:0.0
题解 1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=50;int a…… 题解列表 2024年05月12日 0 点赞 0 评论 166 浏览 评分:0.0
1024 矩阵对角线求和(二维数组赋初值) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[4][4]; for(int i=1;i<=3;i++) { for(int j=1;j<=3;j…… 题解列表 2024年05月12日 0 点赞 0 评论 89 浏览 评分:0.0
题解 1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const ll N=1e3;ll a[…… 题解列表 2024年05月04日 0 点赞 0 评论 127 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e3;ll a…… 题解列表 2024年05月04日 0 点赞 0 评论 126 浏览 评分:0.0