综合测验1【编程入门】Sn的公式求和 摘要:解题思路:先定义函数,然后利用while语句,再采用for循环完成语句注意事项:注意for的嵌套位置参考代码:#include<stdio.h>#include<math.h> int main(){…… 题解列表 2022年05月20日 0 点赞 0 评论 472 浏览 评分:9.9
编写题解 1584: 蓝桥杯算法训练VIP-判定字符位置 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main() { string st…… 题解列表 2022年05月20日 0 点赞 0 评论 385 浏览 评分:0.0
编写题解 1584: 蓝桥杯算法训练VIP-判定字符位置(2) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { string str1="aeiou"; …… 题解列表 2022年05月20日 0 点赞 0 评论 393 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int n; int a[21…… 题解列表 2022年05月20日 0 点赞 0 评论 395 浏览 评分:0.0
编写题解 1584: 蓝桥杯算法训练VIP-判定字符位置(迭代器3) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { string str1="aeiou"; …… 题解列表 2022年05月20日 0 点赞 0 评论 341 浏览 评分:9.9
编写题解 1586: 蓝桥杯算法训练VIP-A+B problem 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b; cin>>a>>b;…… 题解列表 2022年05月20日 0 点赞 0 评论 265 浏览 评分:0.0
“统计字符”的题解方法 摘要:解题思路:定义一个函数并调用,分别用p、q、m、n代表英文字母、空格、数字和其他字符的个数注意事项:输入字符用gets,而不用scanf,因为gets函数可以输入一个含空格的字符串;参考代码:#inc…… 题解列表 2022年05月20日 0 点赞 1 评论 1740 浏览 评分:9.9
编写题解 1597: 蓝桥杯算法训练VIP-提货单 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> #include<iomanip> using namespace std; struct…… 题解列表 2022年05月20日 0 点赞 0 评论 393 浏览 评分:0.0
二级C语言-等差数列 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;int n,t=2,s…… 题解列表 2022年05月20日 0 点赞 0 评论 357 浏览 评分: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 评论 355 浏览 评分:0.0