题解列表
蓝桥杯2024年第十五届省赛真题-好数,c语言包一清二楚
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,k=0,x;  ……
并查集(本题输入会超时要关闭输入流)
摘要:#include<bits/stdc++.h>using namespace std;const int N = 1e5 + 5;int fa[N], rk[N];int n, m;voi……
换一种思路来写用set中upper_bound()函数
摘要:解题思路:注意事项:参考代码:#include <iostream>#include <set>using namespace std;typedef long long ll……
最大值和最小值的差,包清楚的c语言。
摘要:……
密码截获:模拟 + 剪枝
摘要:解题思路:模拟 + 剪枝注意事项:参考代码:#include<iostream>usingnamespacestd;boolispd(strin……
最短路径问题(floyd)
摘要:注意事项:floyd适用于ns>>t; //起点与终点 floyd(); cout……
c++骑马修栅栏(栈)
摘要:```cpp#include #include #include #include #include #include using namespace std;in……
c++dfs全排列解决该问题
摘要:#include<bits/stdc++.h>usingnamespacestd;intres=0;floata[15];f……