2883: 矩阵加法 C++ 摘要:解题思路:外层循环变量i为行号; 内层循环变量j为列号; 注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N=110;in…… 题解列表 2023年12月18日 0 点赞 0 评论 402 浏览 评分:0.0
2883: 矩阵加法 摘要:``` #include using namespace std; const int N=110; int a[N][N],b[N][N]; int main(){ int n,m; …… 题解列表 2023年12月18日 0 点赞 0 评论 300 浏览 评分: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 评论 334 浏览 评分:0.0
2878: 计算矩阵边缘元素之和 摘要:``` #include using namespace std; const int N=110; int a[N][N],b[N][N]; int main(){ int n,m,s…… 题解列表 2023年12月18日 0 点赞 0 评论 352 浏览 评分:0.0
题解 2878: 计算矩阵边缘元素之和 摘要: #include using namespace std; const int N=110; int a[N][N],sum; int main() {…… 题解列表 2023年12月18日 0 点赞 0 评论 360 浏览 评分:0.0
C++宏练习 简洁易懂 摘要:解题思路:注意事项:参考代码:#include <iostream>#define yu(a,b) (a%b) using namespace std;int main(){ int a,b,c; c…… 题解列表 2023年12月18日 0 点赞 0 评论 458 浏览 评分:0.0
C++宏三角形面积 简单易懂 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>#include <iomanip>#define area sqrt(s*(s-a)*(s-b)*…… 题解列表 2023年12月18日 0 点赞 0 评论 1803 浏览 评分:0.0
刷完这道题就回宿舍! 摘要:解题思路:注意事项:参考代码:myStr=input().strip()num=int(input())flag=1myStr1=""for temp in range(num): myList…… 题解列表 2023年12月18日 0 点赞 0 评论 1826 浏览 评分:0.0
直接读入字符如其所愿 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[1000]; gets(s); for(in…… 题解列表 2023年12月18日 0 点赞 0 评论 378 浏览 评分:0.0
< ctype.h> 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>int main(){ char s[1000]; i…… 题解列表 2023年12月18日 0 点赞 0 评论 406 浏览 评分:0.0