河婆虚
河婆虚
全部文章
题解
noown(2)
归档
标签
去牛客网
登录
/
注册
河婆虚的博客
recyclebin
全部文章
/ 题解
(共13篇)
题解 | 归并排序模板运用
s #include<bits/stdc++.h> using namespace std; const int N = 1e5+10; int k[N]; long long res=0; void merge_sort(int*nums,int left,int right) { ...
C++
归并排序
2022-01-11
0
337
题解 | #最短路#
SPFA算法裸题 #include<iostream> #include<algorithm> #include<cstring> #include<queue> using namespace std; const int N =3e5+10; in...
C++
最短路
2021-12-30
0
459
题解 | #wyh的迷宫#
BFS模板 //BFS模板 //原模板为求最短路径,该题为判断是否能走到终点 #include<iostream> #include<algorithm> #include<cstring> using namespace std; const int N = 5...
C++
广度优先搜索
2021-12-28
0
469
首页
上一页
1
2
下一页
末页