zyyzzyyz
zyyzzyyz
全部文章
数据结构
codeforces专题(21)
DP动态规划(1)
二分尺取(2)
拓扑排序(1)
搜索(3)
数论(2)
暴力模拟(1)
最小生成树(1)
未归档(27)
牛客专题(5)
归档
标签
去牛客网
登录
/
注册
zy
emmmm
全部文章
/ 数据结构
(共2篇)
树链剖分
洛谷P2590 树链剖分模板题: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn=50005; int n,q; int w[maxn];//每个点的权值 int f...
2019-04-24
0
0
codeforces131B
题意:给n个数,问这些数里相反数有几对。0与自己成相反数。 Input 5 -3 3 0 0 3 Output 3 Input 3 0 0 0 Output 3 Note In the first sample the couples of opposite cl...
2018-09-25
0
0