题解列表
一笔画问题(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……
并查集(本题输入会超时要关闭输入流)
摘要:#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……
密码截获:模拟 + 剪枝
摘要:解题思路:模拟 + 剪枝注意事项:参考代码:#include<iostream>usingnamespacestd;boolispd(strin……