#C++1556——蓝桥杯算法提高VIP-统计单词数(干货满满) 摘要:解题思路: 把问题分成多个小问题,一个一个处理,读入字符串后,先分离单词,变大写,去符号,放入map去重,统计个数,找最长单词,用vector找输入顺序,格式化输出;注意事项: 因为要实现的功能有点多…… 题解列表 2022年07月30日 0 点赞 0 评论 708 浏览 评分:0.0
2208: 有趣的比赛(DSF) 摘要:测试数据较小,所以可以用深搜去一个一个枚举出来AC代码:#include<bits/stdc++.h> using namespace std; int add=0; int score; v…… 题解列表 2022年07月30日 0 点赞 0 评论 486 浏览 评分:9.9
三层复合循环求解 摘要:解题思路:通过三层循环嵌套,对个位,十位和百位从0~9进行遍历注意事项:题目中表明输出是三位数,因此通过控制输出条件舍去同样符合条件的0(a=b=c=0)和1(a=b=0;c=1)——————[1]参…… 题解列表 2022年07月30日 0 点赞 0 评论 321 浏览 评分:9.9
编写题解 1018: [编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double a = 1, b = 2, x = 0, y = 0; double term…… 题解列表 2022年07月30日 0 点赞 0 评论 260 浏览 评分:0.0
编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a = 0, b = 0; int x = 0, y = 0; int i = …… 题解列表 2022年07月30日 0 点赞 0 评论 354 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double a = 0, b = 0, c = 0; int i = 0; doubl…… 题解列表 2022年07月30日 0 点赞 0 评论 302 浏览 评分:0.0
编写题解 1059: 二级C语言-等差数列 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n = 0; int i = 0; int sum = 0; int ter…… 题解列表 2022年07月30日 0 点赞 0 评论 184 浏览 评分:0.0
1009 [编程入门]数字的处理与判断 摘要:解题思路:简单粗暴多个if直接搞定注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a,b,c,d,…… 题解列表 2022年07月30日 0 点赞 0 评论 363 浏览 评分:9.9
编写题解 1058: 二级C语言-求偶数和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n = 0; int i = 0; int sum = 0; scan…… 题解列表 2022年07月30日 0 点赞 0 评论 223 浏览 评分:0.0
编写题解 1056: 二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double F = 0; scanf("%lf", &F); printf("%…… 题解列表 2022年07月30日 0 点赞 0 评论 268 浏览 评分:0.0