【cctype字符函数库】求解字符串分类统计 摘要:解题思路:利用cctype字符函数库解决问题cctype库内函数isalnum(c); 如果参数是字母或数字,函数就返回true,否则返回falseisalpha(c); 如果参数是字母,函数返回tr…… 题解列表 2022年05月20日 0 点赞 0 评论 376 浏览 评分:7.3
优质题解 1132: C语言训练-最大数问题 只用套一个while 最简单不绕的解法 摘要:## 解题思路 比谁大问题不难,本题难点在于判断-1退出和全负数情况下如何判断的问题。 如何一直输入在提交窗口就有示例代码,用`while(~scanf)`,退出条件写`if(Num == -1)…… 题解列表 2022年05月20日 1 点赞 0 评论 1713 浏览 评分:8.0
编写题解 1598: 蓝桥杯算法训练VIP-学生成绩 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> #include<algorithm> #include<vector> using na…… 题解列表 2022年05月20日 0 点赞 0 评论 278 浏览 评分:0.0
[编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n,t=1;int main(){ cin>>n; for(in…… 题解列表 2022年05月20日 0 点赞 0 评论 342 浏览 评分:0.0
【欧几里得算法】求解最大公约数和最小公倍数 摘要:解题思路:假如需要求 1997 和 615 两个正整数的最大公约数,用欧几里得算法,是这样进行的:1997 / 615 = 3 (余 152)615 / 152 = 4(余7)152 / 7 = 21…… 题解列表 2022年05月20日 0 点赞 0 评论 389 浏览 评分:9.9
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15];int main(){ for(int i=1;i…… 题解列表 2022年05月20日 0 点赞 0 评论 304 浏览 评分:0.0
1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;long long a…… 题解列表 2022年05月20日 0 点赞 0 评论 249 浏览 评分:0.0
[编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[15],s,t;int main(){ for(int i=…… 题解列表 2022年05月20日 0 点赞 0 评论 276 浏览 评分:0.0
二级C语言-等差数列 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;int n,t=2,s…… 题解列表 2022年05月20日 0 点赞 0 评论 302 浏览 评分:0.0
编写题解 1597: 蓝桥杯算法训练VIP-提货单 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> #include<iomanip> using namespace std; struct…… 题解列表 2022年05月20日 0 点赞 0 评论 269 浏览 评分:0.0