莉露C++编写题解 3320: 蓝桥杯2025年第十六届省赛真题-产值调整 摘要:解题思路:前面加上ios::sync_with_stdio(false);cin.tie(nullptr);注意事项:我不到啊,豆包说的:我用最直白、最容易懂的方式告诉你:为什么不加那两行…… 题解列表 2026年04月10日 0 点赞 0 评论 1 浏览 评分:0.0
【Kirito】1084使用筛法进行筛选 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;bool Is_crossed_over[1000005];int ma…… 题解列表 2026年04月08日 0 点赞 0 评论 18 浏览 评分:0.0
冶炼金属C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main() { long long int a[10005],…… 题解列表 2026年04月08日 0 点赞 0 评论 26 浏览 评分:0.0
【kirito】1030 注意输出格式 摘要:解题思路:#include<bits/stdc++.h>using namespace std;int main(){ int a[3][3]; for(int i=0;i<3;i+…… 题解列表 2026年04月08日 0 点赞 0 评论 10 浏览 评分:0.0
利用变换次数 摘要:解题思路:利用左支不变右支变注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intma…… 题解列表 2026年04月07日 0 点赞 0 评论 26 浏览 评分:0.0
简单版bfs解法 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int MAX=105;int row,col;//定义行,…… 题解列表 2026年04月06日 0 点赞 0 评论 21 浏览 评分:0.0
1026使用stack相关语句完成逆序输出【桐人k】 摘要:解题思路:注意事项:涉及两种类型的变量,分别string,int,定义栈stack(头文件要包含include<stack>)栈的定义:  …… 题解列表 2026年04月04日 0 点赞 0 评论 30 浏览 评分:0.0
蓝桥杯2025年第十六届省赛真题-最短距离贪心算法 摘要:解题思路:贪心思想,每个电器一定要找离自己最近的插头注意事项:对给出的位置进行排序,不知道具体位置,加绝对值参考代码:#include<bits/stdc++.h>using namesp…… 题解列表 2026年04月04日 0 点赞 0 评论 117 浏览 评分:0.0
1026使用for循环的写法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; for(int i=0;i<…… 题解列表 2026年04月04日 0 点赞 0 评论 37 浏览 评分:0.0
1014的递归写法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;long long fs(long long n)//定义一个函数fs,功能是对计…… 题解列表 2026年04月04日 0 点赞 0 评论 33 浏览 评分:0.0