![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
主席树
newhonor
可以不伟大,但不能卑微
展开
-
K-th Closest Distance
http://acm.hdu.edu.cn/showproblem.php?pid=6621#include <iostream>#include <cstring>#include <queue>#include <vector>#include <algorithm>#include <cstdio>#...原创 2019-10-20 10:51:22 · 88 阅读 · 0 评论 -
Keen On Everything But Triangle
http://acm.hdu.edu.cn/showproblem.php?pid=6601#include <iostream>#include <cstring>#include <queue>#include <vector>#include <algorithm>#include <cstdio>#...原创 2019-10-17 11:46:57 · 104 阅读 · 0 评论 -
The Stream of Corning 2
https://cn.vjudge.net/contest/296345#problem/K总结:主席树反思:scanf分开写都会tle~~#include<bits/stdc++.h>using namespace std;#define sfi(i) scanf("%d",&i)/*#define sfs(i) scanf("%s",(i))#de...原创 2019-07-12 19:29:14 · 212 阅读 · 0 评论 -
2019中国大学生程序设计竞赛(CCPC) - 网络选拔赛 K-th occurrence
http://acm.hdu.edu.cn/showproblem.php?pid=6704注意后缀数组初始化!!!#include <iostream>#include <cstring>#include <queue>#include <vector>#include <algorithm>#include &l...原创 2019-08-24 19:18:43 · 321 阅读 · 0 评论