1002比较三个数的大小cpp写法kirito 摘要:解题思路:注意事项:C++中max()一次性只能比较两个元素参考代码:#include<iostream>using namespace std;int main(){ double a,…… 题解列表 2026年04月03日 0 点赞 0 评论 34 浏览 评分:0.0
1001你的第一个hello world,别漏写;和“” 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"***********…… 题解列表 2026年04月03日 0 点赞 0 评论 57 浏览 评分:0.0
1000解法新手爱记录a+b 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a; cin>…… 题解列表 2026年04月03日 0 点赞 0 评论 58 浏览 评分:0.0
莉露C语言编写题解 3342: 蓝桥杯2025年第十六届省赛真题-红黑树 摘要:解题思路:迭代注意事项:return parent_red参考代码:#include<stdio.h>int is_red(int n,int k){ if(n == 1) return…… 题解列表 2026年04月03日 0 点赞 0 评论 39 浏览 评分:0.0
调和级数筛法求约束个数 摘要:解题思路:注意事项:参考代码:L = int(input())D = [0]*(L+1)for i in range(1, L+1): for j in range(i, L…… 题解列表 2026年04月02日 1 点赞 0 评论 66 浏览 评分:0.0
遍历筛选法 摘要:解题思路:注意事项:注意后面输出的时候,是<k,不要越过了数组的界限参考代码:#include <stdio.h>#include <string.h>int main(…… 题解列表 2026年04月02日 0 点赞 0 评论 59 浏览 评分:0.0
存储输入法 摘要:解题思路:用一个函数来作为输出字符串的作用注意事项:参考代码:#include <stdio.h>#include <string.h>void str3(char str[1…… 题解列表 2026年04月02日 0 点赞 0 评论 26 浏览 评分:0.0
反向遍历法 摘要:解题思路:先保存,后逆向输出注意事项:处理换行符:fgets 会把输入的回车 \n 一起读入字符串,必须用 str[strcspn(str, "\n")] = '\0…… 题解列表 2026年04月02日 0 点赞 0 评论 28 浏览 评分:0.0
蓝桥杯2025年第十六届省赛真题-变换数组 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int n;scanf("%d", &n);&nb…… 题解列表 2026年04月02日 2 点赞 0 评论 116 浏览 评分:0.0