菜出声
菜出声
全部文章
数据结构
dfs(3)
kmp(1)
STL(3)
二分(1)
同余逆元(1)
图论(1)
字符串(2)
模拟(3)
签到题(2)
训练赛(4)
贪心(1)
归档
标签
去牛客网
登录
/
注册
欢迎大佬
全部文章
/ 数据结构
(共6篇)
数据结构dfs bfs
#include<cstdio> #include<iostream> #include<cstring> #include<algorithm> #include<vector> #include<queue> u...
dfs
bfs
2019-12-03
0
653
kmp+kmp改+bf
#include<stdio.h> #include<string.h> using namespace std; const int maxn=100; int next[maxn]; int next2[maxn];//改进kmp char a[maxn]; ...
2019-11-12
0
507
数据结构——BF
#include<stdio.h> #include<string.h> using namespace std; const int maxn=1e5+10; int la; int lb; int ant=0; char a[maxn]; char b[maxn]; in...
2019-11-05
0
462
数据结构——舞者匹配
#include<stdio.h> #include<string.h> using namespace std; #define maxsize 100 #define OK 1 #define ERROR 0 #define OVERFLOW -2 typedef in...
2019-11-05
0
488
单链表
#include<stdio.h> #include<iostream> #include<string.h> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -2 struct...
2019-10-22
0
484
线性表
#include<stdio.h> #include<string.h> #include<iostream> using namespace std; #define OK 1 #define ERROR 0 #define OVERFLOW -2 struct...
2019-10-22
0
480