用函数方法解 1028 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>void result_1(double a, double b, double c);void r…… 题解列表 2022年07月30日 0 点赞 0 评论 337 浏览 评分:0.0
幸运儿(数组) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;bool flag[100];bool f(){ int num=…… 题解列表 2022年07月30日 0 点赞 0 评论 388 浏览 评分:9.9
去注释较为容易的做法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s; bool f=1; b…… 题解列表 2022年07月30日 0 点赞 0 评论 432 浏览 评分:9.9
#C++1556——蓝桥杯算法提高VIP-统计单词数(干货满满) 摘要:解题思路: 把问题分成多个小问题,一个一个处理,读入字符串后,先分离单词,变大写,去符号,放入map去重,统计个数,找最长单词,用vector找输入顺序,格式化输出;注意事项: 因为要实现的功能有点多…… 题解列表 2022年07月30日 0 点赞 0 评论 715 浏览 评分:0.0
2208: 有趣的比赛(DSF) 摘要:测试数据较小,所以可以用深搜去一个一个枚举出来AC代码:#include<bits/stdc++.h> using namespace std; int add=0; int score; v…… 题解列表 2022年07月30日 0 点赞 0 评论 492 浏览 评分:9.9
三层复合循环求解 摘要:解题思路:通过三层循环嵌套,对个位,十位和百位从0~9进行遍历注意事项:题目中表明输出是三位数,因此通过控制输出条件舍去同样符合条件的0(a=b=c=0)和1(a=b=0;c=1)——————[1]参…… 题解列表 2022年07月30日 0 点赞 0 评论 324 浏览 评分:9.9
编写题解 1018: [编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double a = 1, b = 2, x = 0, y = 0; double term…… 题解列表 2022年07月30日 0 点赞 0 评论 264 浏览 评分: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 评论 356 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { double a = 0, b = 0, c = 0; int i = 0; doubl…… 题解列表 2022年07月30日 0 点赞 0 评论 308 浏览 评分: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 评论 186 浏览 评分:0.0