码迷,mamicode.com
首页 >  
搜索关键字:rmq 树状数组    ( 4742个结果
hdu 1541 Stars 树状数组
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1541Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4...
分类:其他好文   时间:2014-07-16 20:42:48    阅读次数:156
C. RMQ with Shifts
C. RMQ with ShiftsTime Limit:1000msCase Time Limit:1000msMemory Limit:131072KB64-bit integer IO format:%lld Java class name:MainIn the traditional RMQ...
分类:其他好文   时间:2014-07-16 19:25:07    阅读次数:242
Disharmony Trees 树状数组
Disharmony TreesTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionOne day Sophia finds a very big square. There...
分类:其他好文   时间:2014-07-14 20:46:18    阅读次数:322
HDOJ1556 Color the ball 【线段树】+【树状数组】+【标记法】
10951071 2014-07-06 16:14:52 Time Limit Exceeded 1556 3000MS 584K 400 B G++ 长木 #include #include #define maxn 100000 + 2 int arr[maxn]; int main() { int n, a, b; while(scanf("...
分类:其他好文   时间:2014-07-14 18:12:43    阅读次数:264
RMQ with Shifts
uva12299:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=3720题意:给你n个数,然后有两个操做,shift从左到右一次交换,即a1和a2交换,完了...
分类:其他好文   时间:2014-07-13 21:32:18    阅读次数:261
POJ1195 Mobile phones 【二维树状数组】
Mobile phones Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 14288   Accepted: 6642 Description Suppose that the fourth generation mobile phone base stati...
分类:其他好文   时间:2014-07-13 18:09:14    阅读次数:202
POJ2299 Ultra-QuickSort 【树状数组】+【hash】
Ultra-QuickSort Time Limit: 7000MS   Memory Limit: 65536K Total Submissions: 39529   Accepted: 14250 Description In this problem, you have to analyze a particular sorti...
分类:其他好文   时间:2014-07-13 18:01:58    阅读次数:201
POJ2352 Stars 【树状数组】or【线段树】
Stars Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 31172   Accepted: 13595 Description Astronomers often examine star maps where stars are represented b...
分类:其他好文   时间:2014-07-13 14:10:34    阅读次数:206
hoj 1867 经理的烦恼 树状数组
链接:http://acm.hit.edu.cn/hoj/problem/view?id=1867谁说是入门题啊,真想拍他一巴掌经理的烦恼My Tags(Edit)Source:HCPC 2005 SpringTime limit: 2 secMemory limit: 32 MSubmitted:...
分类:其他好文   时间:2014-07-13 00:20:59    阅读次数:360
poj 2155 二维树状数组
http://poj.org/problem?id=2155MatrixTime Limit:3000MSMemory Limit:65536KTotal Submissions:17721Accepted:6653DescriptionGiven an N*N matrix A, whose el...
分类:其他好文   时间:2014-07-12 15:09:54    阅读次数:201
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!