18sui
18sui
全部文章
分类
AcWing other(1)
AcWing算法基础课(53)
Acwing算法模板及理解(5)
AcWing算法竞赛进阶指南(3)
Mysql(1)
other(1)
洛谷(1)
归档
标签
去牛客网
登录
/
注册
wiseXu
请容我,再颓一次。20/10/12
全部文章
(共65篇)
AcWing打卡记录
AcWing打卡记录(持续更新中) 题号 打卡随笔 89 AcWing 89. a^b 90 AcWing 90. 64位整数乘法 91 AcWing 91....
打卡表
AcWing
2020-08-02
0
310
AcWing 850. Dijkstra求最短路 II
AcWing 850. Dijkstra求最短路 II #include <bits/stdc++.h> using namespace std; const int N=1e6+10; typedef pair<int,int> PII; int n,m; int h...
AcWing
2020-08-02
0
247
AcWing 849. Dijkstra求最短路 I
AcWing 849. Dijkstra求最短路 I #include <bits/stdc++.h> using namespace std; const int N=5e2+10; int n,m; int g[N][N]; int dist[N]; bool st[N]; i...
AcWing
2020-08-02
0
337
AcWing 844. 走迷宫
AcWing 844. 走迷宫 #include <bits/stdc++.h> using namespace std; typedef pair<int,int> PII; const int N=1e2+10; int n,m; int g[N][N]; int ...
AcWing
2020-08-01
0
354
AcWing 848. 有向图的拓扑序列
AcWing 848. 有向图的拓扑序列 #include <bits/stdc++.h> using namespace std; const int N=1e5+10; int n,m; int h[N],e[N],ne[N],idx; // d是入度 int q[N],d[N...
AcWing
2020-08-01
0
291
AcWing 845. 八数码
AcWing 845. 八数码 /*y总写法,因为蓝桥杯不支持c++11,本题用map会超时,所以下面使用的是手写hash #include <bits/stdc++.h> using namespace std; queue<string> q; unordered_...
AcWing
2020-08-01
0
272
AcWing 847. 图中点的层次
AcWing 847. 图中点的层次 #include <bits/stdc++.h> using namespace std; const int N=1e5+10; int n,m; int h[N],e[N],ne[N],idx; int d[N],q[N]; void a...
AcWing
2020-08-01
0
325
AcWing 846. 树的重心
AcWing 846. 树的重心 #include <bits/stdc++.h> using namespace std; const int N=1e5+10,M=2*N; int n; int h[N],e[M],ne[M],idx; bool st[N]; //去掉重心的所...
AcWing
2020-08-01
0
336
AcWing 843. n-皇后问题
AcWing 843. n-皇后问题 /*按行枚举 #include <iostream> using namespace std; const int N=20; int n; char g[N][N]; bool col[N],dg[N],udg[N]; void dfs(in...
AcWing
2020-08-01
0
293
AcWing 842. 排列数字
AcWing 842. 排列数字 #include <bits/stdc++.h> using namespace std; const int N=10; int n; int path[N]; bool st[N]; void dfs(int u){ if(u==n){...
AcWing
2020-08-01
0
307
首页
上一页
1
2
3
4
5
6
7
下一页
末页