树状数组
CrossDolphin
青春看起来如此完美,没空闲去浪费时间。
展开
-
CROC 2016 - Elimination Round B 树状数组处理逆序对个数
链接:戳这里B. Mischievous Mess Makerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt is a balmy spring afternoon, and Farmer John原创 2016-03-30 23:49:53 · 421 阅读 · 0 评论 -
Poj 2985 树状数组求第k大
链接:戳这里The k-th Largest GroupTime Limit: 2000MS Memory Limit: 131072KDescriptionNewman likes playing with cats. He possesses lots of cats in his home. Because the number of cats i原创 2016-03-26 15:48:03 · 415 阅读 · 0 评论 -
hdu 5249 KPI 离线+树状数组求第k大
链接:戳这里KPITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description你工作以后, KPI 就是你的全部了. 我开发了一个服务,取得了很大的知名度。数十亿的请求被推到一个大管道后同时服原创 2016-03-26 16:46:34 · 352 阅读 · 0 评论 -
Codeforces Round #348 (VK Cup 2016 Round 2, Div. 1 Edition) C 离散化+树状数组+map D 数学
链接:戳这里C. Little Artem and Random Variabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Artyom decided to study probab原创 2016-04-28 21:41:25 · 440 阅读 · 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 · 430 阅读 · 0 评论 -
hdu 5792 离散化+树状数组
链接:戳这里World is ExplodingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem DescriptionGiven a sequence A with length n,count how many quad原创 2016-08-02 21:27:48 · 1133 阅读 · 6 评论 -
hdu 5869 RMQ+二分+离线树状数组
链接:戳这里Different GCD Subarray QueryTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Problem DescriptionThis is a simple problem. The teacher give原创 2016-09-12 22:21:39 · 445 阅读 · 0 评论