3334: 蓝桥杯2025年第十六届省赛真题-园艺 摘要:#include<stdio.h>int main(){ int lh;//最后一棵树的高度 in…… 题解列表 2026年04月06日 0 点赞 0 评论 11 浏览 评分:0.0
简单版bfs解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int MAX=105;int row,col;//定义行,…… 题解列表 2026年04月06日 0 点赞 0 评论 10 浏览 评分:0.0
编写题解 1169: 绝对值排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ while(1) &nb…… 题解列表 2026年04月04日 0 点赞 0 评论 13 浏览 评分:0.0
编写题解 1023: [编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number[10]={0}; for(…… 题解列表 2026年04月04日 0 点赞 0 评论 28 浏览 评分:0.0
编写题解 1129: C语言训练-排序问题(2) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number[10]={0}; for(…… 题解列表 2026年04月04日 0 点赞 0 评论 10 浏览 评分:0.0
为什么你写的答案逻辑正确但第一个测试点错误只得了50分 摘要:解题思路:省流:不要用fget函数注意事项:如果你的代码用了fget函数,你可以在它的在线测试里面运行,然后你就会惊喜地发现答案不对,为什么呢?我问了ai,ai给我的解释是:fgets会在…… 题解列表 2026年04月04日 2 点赞 0 评论 31 浏览 评分:10.0
1026使用stack相关语句完成逆序输出【桐人k】 摘要:解题思路:注意事项:涉及两种类型的变量,分别string,int,定义栈stack(头文件要包含include<stack>)栈的定义:  …… 题解列表 2026年04月04日 0 点赞 0 评论 24 浏览 评分:0.0
蓝桥杯2025年第十六届省赛真题-最短距离贪心算法 摘要:解题思路:贪心思想,每个电器一定要找离自己最近的插头注意事项:对给出的位置进行排序,不知道具体位置,加绝对值参考代码:#include<bits/stdc++.h>using namesp…… 题解列表 2026年04月04日 0 点赞 0 评论 84 浏览 评分:0.0
1026使用for循环的写法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; for(int i=0;i<…… 题解列表 2026年04月04日 0 点赞 0 评论 22 浏览 评分:0.0
1014的递归写法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;long long fs(long long n)//定义一个函数fs,功能是对计…… 题解列表 2026年04月04日 0 点赞 0 评论 23 浏览 评分:0.0