题解列表
编写题解 1056: 二级C语言-温度转换
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
double F = 0;
scanf("%lf", &F);
printf("%……
编写题解 1058: 二级C语言-求偶数和
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int n = 0;
int i = 0;
int sum = 0;
scan……
编写题解 1059: 二级C语言-等差数列
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int n = 0;
int i = 0;
int sum = 0;
int ter……
编写题解 1015: [编程入门]求和训练
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
double a = 0, b = 0, c = 0;
int i = 0;
doubl……
编写题解 1011: [编程入门]最大公约数与最小公倍数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
int a = 0, b = 0;
int x = 0, y = 0;
int i = ……
编写题解 1018: [编程入门]有规律的数列求和
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int main()
{
double a = 1, b = 2, x = 0, y = 0;
double term……
#C++1556——蓝桥杯算法提高VIP-统计单词数(干货满满)
摘要:解题思路: 把问题分成多个小问题,一个一个处理,读入字符串后,先分离单词,变大写,去符号,放入map去重,统计个数,找最长单词,用vector找输入顺序,格式化输出;注意事项: 因为要实现的功能有点多……
用函数方法解 1028
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>void result_1(double a, double b, double c);void r……
2325: 肺炎大作战
摘要:看到要将一堆人联系起来,本蒟蒻第一时间想到的就是并查集,但是这里要我们输出的是最大群体。我们知道并查集路径压缩后每次查找这个群体的时候都会返回他们的“”祖宗“”,所以我们将群体的大小保存在“”祖宗“”……