蓝桥杯2024年第十五届省赛真题-好数,c语言包一清二楚 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,k=0,x;  …… 题解列表 2025年03月20日 4 点赞 0 评论 1311 浏览 评分:10.0
并查集(本题输入会超时要关闭输入流) 摘要:#include<bits/stdc++.h>using namespace std;const int N = 1e5 + 5;int fa[N], rk[N];int n, m;voi…… 题解列表 2025年03月20日 0 点赞 0 评论 312 浏览 评分:0.0
换一种思路来写用set中upper_bound()函数 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <set>using namespace std;typedef long long ll…… 题解列表 2025年03月20日 1 点赞 0 评论 359 浏览 评分:10.0
最大值和最小值的差,包清楚的c语言。 摘要:…… 题解列表 2025年03月20日 2 点赞 0 评论 150 浏览 评分:10.0
密码截获:模拟 + 剪枝 摘要:解题思路:模拟 + 剪枝注意事项:参考代码:#include<iostream>usingnamespacestd;boolispd(strin…… 题解列表 2025年03月20日 0 点赞 0 评论 173 浏览 评分:0.0
孤独的骑士-模拟 摘要:解题思路:模拟注意事项:参考代码:#include<iostream>usingnamespacestd;intd[8][2]=&n…… 题解列表 2025年03月20日 0 点赞 0 评论 229 浏览 评分:0.0
最短路径问题(floyd) 摘要:注意事项:floyd适用于ns>>t; //起点与终点 floyd(); cout…… 题解列表 2025年03月20日 0 点赞 0 评论 189 浏览 评分:0.0
c++骑马修栅栏(栈) 摘要:```cpp#include #include #include #include #include #include using namespace std;in…… 题解列表 2025年03月19日 0 点赞 0 评论 213 浏览 评分:0.0
c++dfs全排列解决该问题 摘要:#include<bits/stdc++.h>usingnamespacestd;intres=0;floata[15];f…… 题解列表 2025年03月19日 0 点赞 0 评论 148 浏览 评分:0.0
查找特定的值,正确率百分百,C语言通俗易懂!!! 摘要:#includeint main(){ int n,m,arr[100000],k=0; scanf("%d",&n); for(int i=0;i…… 题解列表 2025年03月19日 1 点赞 0 评论 169 浏览 评分:10.0