[编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[5][5],x,y;//定义一个二维数组int main(){ for(…… 题解列表 2022年05月24日 0 点赞 0 评论 311 浏览 评分:0.0
[编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[105];int main(){ for(int i…… 题解列表 2022年05月24日 0 点赞 0 评论 266 浏览 评分:0.0
[编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[15];//用数组可以少很多变量int main(){ for(int …… 题解列表 2022年05月24日 0 点赞 0 评论 296 浏览 评分:0.0
编写题解2182:[编程入门]打印图案 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf(" *\n"); printf(" * *\n"); printf("****…… 题解列表 2022年05月24日 0 点赞 0 评论 498 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n,m;int main(){ cin>>n>>m; f…… 题解列表 2022年05月24日 0 点赞 0 评论 238 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string n;int main(){ cin>>n; cout<<n.size…… 题解列表 2022年05月24日 0 点赞 0 评论 235 浏览 评分:0.0
[编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){ cin>>n; if(n>=…… 题解列表 2022年05月24日 0 点赞 0 评论 373 浏览 评分:6.0
[编程入门]三个数找最大值 摘要:解题思路:max注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; co…… 题解列表 2022年05月24日 0 点赞 0 评论 344 浏览 评分:0.0
[编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){ cin>>n; if(n<1…… 题解列表 2022年05月24日 0 点赞 0 评论 304 浏览 评分:0.0
优质题解 回文数(二)普通C++写法,分模块讲解 摘要:解题思路:根据题意我们知道实现程序的话,主要是下面函数的循环:定义cot = 0,cot是用来记录循环次数 由于(0<=M<=maxlongint)较大,我们使用数组进行储存数据,防止数据过大溢出 …… 题解列表 2022年05月24日 0 点赞 0 评论 1200 浏览 评分:7.7