18sui
18sui
全部文章
分类
AcWing other(1)
AcWing算法基础课(53)
Acwing算法模板及理解(5)
AcWing算法竞赛进阶指南(3)
Mysql(1)
other(1)
洛谷(1)
归档
标签
去牛客网
登录
/
注册
wiseXu
请容我,再颓一次。20/10/12
全部文章
(共65篇)
AcWing 788. 逆序对的数量
AcWing 788. 逆序对的数量 #include <bits/stdc++.h> using namespace std; typedef long long LL; const int N=1e6+10; int q[N],tmp[N]; LL merge_sort(int...
AcWing
2020-07-28
0
273
AcWing 789. 数的范围
AcWing 789. 数的范围 #include <bits/stdc++.h> using namespace std; const int N=1e6+10; int q[N]; int check_min(int x,int l,int r){ while(l&l...
AcWing
2020-07-27
0
294
AcWing 787. 归并排序
AcWing 787. 归并排序 #include <bits/stdc++.h> using namespace std; const int N=1e6+10; int q[N],tmp[N]; void merge_sort(int q[],int l,int r){ ...
AcWing
2020-07-27
0
284
AcWing 785. 快速排序
AcWing 785. 快速排序 #include <bits/stdc++.h> using namespace std; const int N=1e6+10; int q[N]; void quick_sort(int q[],int l,int r){ if(l&g...
AcWing
2020-07-27
0
277
AcWing 786. 第k个数
AcWing 786. 第k个数 #include <bits/stdc++.h> using namespace std; const int N=1e6+10; int q[N]; void quick_sort(int q[],int l,int r){ if(l&g...
AcWing
2020-07-27
0
301
AcWing 91. 最短Hamilton路径
AcWing 91. 最短Hamilton路径 #include <bits/stdc++.h> using namespace std; const int N=21,M=1<<20; int weight[N][N],f[M][N]; int main(){ ...
AcWing
算法竞赛进阶指南
2020-07-27
0
269
AcWing 90. 64位整数乘法
AcWing 90. 64位整数乘法 #include <bits/stdc++.h> using namespace std; typedef long long int lll; lll mul(lll a,lll b,lll p){ lll ans=0; fo...
AcWing
算法竞赛进阶指南
2020-07-27
0
276
AcWing 89. a^b
AcWing 89. a^b #include <bits/stdc++.h> using namespace std; typedef long long int lll; int power(lll a,lll b,lll p){ lll ans = 1%p; ...
AcWing
算法竞赛进阶指南
2020-07-27
0
269
ACwing算法基础课_5
ACwing算法基础课_5 原文链接:here Trie树 int son[N][26], cnt[N], idx; // 0号点既是根节点,又是空节点 // son[][]存储树中每个节点的子节点 // cnt[]存储以每个节点结尾的单词数量 // 插入一个字符串 void ins...
算法
AcWing
2020-07-21
0
475
ACwing算法基础课_4
ACwing算法基础课_4 原文链接:here 单链表 // head存储链表头,e[]存储节点的值,ne[]存储节点的next指针,idx表示当前用到了哪个节点 int head, e[N], ne[N], idx; // 初始化 void init() { head = ...
算法
AcWing
2020-07-21
0
321
首页
上一页
1
2
3
4
5
6
7
下一页
末页