AND20211201
AND20211201
全部文章
分类
dfs(1)
总结(28)
数据结构(1)
未归档(1)
洛谷(1)
题解(113)
归档
标签
去牛客网
登录
/
注册
AND20211201的博客
TA的专栏
17篇文章
0人订阅
未解决
2篇文章
309人学习
数据结构
15篇文章
391人学习
全部文章
(共149篇)
费解的开关
#include<iostream> #include<cstring> using namespace std; const int N=6; char g[N][N],h[N][N]; int dx[5]&nbs...
2022-02-05
0
290
带分数
#include<iostream> #include<algorithm> #include<cstring> using namespace std; int m,ans; bool x[10],y[10]; bo...
2022-02-03
0
344
递归实现组合型枚举
#include<iostream> using namespace std; int n,m; const int N=26; int w[N]; void dfs(int u,int&nbs...
2022-02-02
0
234
递归实现排列型枚举
#include<iostream> using namespace std; const int N=10; int a[N]; bool b[N];//0表示该数没有用过,1表示该数已经用过了 int m; voi...
C++
2022-02-01
1
350
递归实现指数型枚举
#include<iostream> using namespace std; const int N=16; int n[N],m=0; void dfs(int u) { if(u...
C++
2022-02-01
0
300
双链表模板
// e[]表示节点的值,l[]表示节点的左指针,r[]表示节点的右指针,idx表示当前用到了哪个节点 int e[N], l[N], r[N], idx; // 初始化 void init() { &n...
C++
2022-01-30
1
234
单链表
#include<iostream> using namespace std; const int N = 100010; int ne[N], e[N];// ne[]存储的是指针,&...
2022-01-30
2
330
区间合并
#include<iostream> #include<vector> #include<algorithm> using namespace std; typedef pair<int,int> PII; ve...
C++
2022-01-29
0
292
区间和(离散)
#include <iostream> #include <vector> #include <algorithm> using namespace std; typedef pair<int,&...
C++
2022-01-27
1
346
离散化模板
vector<int>a;//储存所有待离散化的值 sort(a.begin(),a.end()); a.erase(unique(a.begin(),a.end()),a.end());//去掉重复元素; //二分求出x对应的离散化的值; int fin...
C++
2022-01-23
1
222
首页
上一页
6
7
8
9
10
11
12
13
14
15
下一页
末页