可持久性线段树
可持久性线段树
Charon_HN
地摊炼丹大师、科研农民工、乡野程序员
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2019HDU多校第四场—— HDU 6621
K-th Closest DistanceYou have an array: a1, a2, , an and you must answer for some queries.For each query, you are given an interval [L, R] and two numbers p and K. Your goal is to find the Kth clos...原创 2019-08-04 09:49:58 · 369 阅读 · 0 评论 -
POJ - 2104 主席树入门
题目链接You are working for Macrohard company in data structures department. After failing your previous task about key insertion you were asked to write a new data structure that would be able to return...原创 2019-08-02 11:23:09 · 283 阅读 · 0 评论 -
2019牛客暑期多校训练营(第九场) H Cutting Bamboos 二分+主席树
题目链接输入:5 43 5 1 7 42 4 3 51 4 4 91 3 1999 1011112 2 1 1输出:2.1000000052154062.6296296380460264.8220668546855450.000000026077032题意:有n棵竹子,然后你需要用y次去砍完这些竹子,但是你每次砍下来的竹子的长度和是相同的,问第x砍竹子的时候是在...原创 2019-08-21 10:27:27 · 458 阅读 · 0 评论
分享