题解列表
编写题解 2950: 素数回文数的个数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main() { int a, i, j, sum = 0, b[1……
一笔画问题(dfs)
摘要:#include<bits/stdc++.h>using namespace std;int n, m, c;const int N = 1e3 + 5;int mapp[N][N], s……
C++ : 类和两种访问权限的练习
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std ;const int n=3 ;class MAX{&nb……
C++ : 类和两种访问权限的练习
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std ;class sum{ priva……
幸运儿(约瑟夫环-模拟+ Vector)
摘要:解题思路:模拟 + Vector注意事项:参考代码:#include<iostream>#include<vector>usingn……
蓝桥杯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……