
树状数组
CrossDolphin
青春看起来如此完美,没空闲去浪费时间。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CROC 2016 - Elimination Round B 树状数组处理逆序对个数
链接:戳这里 B. Mischievous Mess Makers time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output It is a balmy spring afternoon, and Farmer John原创 2016-03-30 23:49:53 · 475 阅读 · 0 评论 -
Poj 2985 树状数组求第k大
链接:戳这里 The k-th Largest Group Time Limit: 2000MS Memory Limit: 131072K Description Newman likes playing with cats. He possesses lots of cats in his home. Because the number of cats i原创 2016-03-26 15:48:03 · 464 阅读 · 0 评论 -
hdu 5249 KPI 离线+树状数组求第k大
链接:戳这里 KPI Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 你工作以后, KPI 就是你的全部了. 我开发了一个服务,取得了很大的知名度。数十亿的请求被推到一个大管道后同时服原创 2016-03-26 16:46:34 · 392 阅读 · 0 评论 -
Codeforces Round #348 (VK Cup 2016 Round 2, Div. 1 Edition) C 离散化+树状数组+map D 数学
链接:戳这里 C. Little Artem and Random Variable time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Little Artyom decided to study probab原创 2016-04-28 21:41:25 · 483 阅读 · 0 评论 -
BestCoder 2nd Anniversary B hdu 5719 树状数组
链接:戳这里 Arrange Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) 问题描述 Cupid一不小心将爱情之箭射到了自己,他爱上了Psyche。 这引起了他的母亲Venus的注意。Venus将Psyche带到了一堆打乱的谷堆旁。原创 2016-07-17 23:17:51 · 482 阅读 · 0 评论 -
hdu 5792 离散化+树状数组
链接:戳这里 World is Exploding Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Given a sequence A with length n,count how many quad原创 2016-08-02 21:27:48 · 1226 阅读 · 6 评论 -
hdu 5869 RMQ+二分+离线树状数组
链接:戳这里 Different GCD Subarray Query Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description This is a simple problem. The teacher give原创 2016-09-12 22:21:39 · 486 阅读 · 0 评论