韩乙棚
韩乙棚
全部文章
分类
归档
标签
去牛客网
登录
/
注册
韩乙棚的博客
全部文章
(共22篇)
题解 | 求两个多项式的和
#include<iostream> #include<algorithm> using namespace std; struct node{ int x; int idex; }; node num1[1000]; node num2[1000]; in...
2026-03-06
0
32
题解 | 继续畅通工程
#include<iostream> #include<vector> #include<algorithm> using namespace std; int father[1000]; void initalunion(int n){ for(int ...
2026-02-22
0
34
题解 | 连通图
#include<iostream> #include<vector> using namespace std; int main(){ int n,m; while(cin>>n>>m){ if(n==0&&a...
2026-02-18
0
33
题解 | 查找学生信息
#include<iostream> #include<map> #include<string> using namespace std; int main(){ int n; cin>>n; map<string,st...
2026-02-11
0
29
题解 | 查找第K小数
#include<iostream> #include<set> using namespace std; int main(){ int n; cin>>n; set<int>que; while(n--){ ...
2026-02-11
0
44
题解 | 二叉排序树
#include<iostream> #include<string> using namespace std; int tree[100]; struct TreeNode{ int data; TreeNode* left; TreeNode* r...
2026-02-08
0
43
题解 | 二叉树遍历
#include<iostream> #include<string> using namespace std; struct TreeNode{ char data; TreeNode* leftchild; TreeNode* rightchild...
2026-02-08
0
42
题解 | 八皇后
#include<iostream> #include<vector> using namespace std; vector<vector<int>>queenvec; // void dfs(vector<int>&queen,...
2026-02-06
0
62
题解 | 玛雅人的密码
#include<iostream>#include<queue>#include<string>#include<unordered_map>using namespace std;int main(){ int n; while(cin...
2026-02-03
0
59
题解 | 大整数的因子
#include<iostream> #include<string> #include<vector> using namespace std; int dividstring(string a,int x){ int carry=0; for(...
2026-01-23
0
54
首页
上一页
1
2
3
下一页
末页