
树状数组
RDJ_Widow
这个作者很懒,什么都没留下…
展开
-
[POJ3067] Japan
DescriptionJapan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the East coast and M cities on the West coast (M &l...原创 2018-12-17 23:04:58 · 405 阅读 · 0 评论 -
[HDU3584] Stars(三维差分树状数组)
http://acm.hdu.edu.cn/showproblem.php?pid=3584三维差分数组+三维树状数组复杂度应该是O(m * logn * logn * logn)/*小心多组*/#include<stdio.h>#include<stdlib.h>#include<math.h>#include<string.h...原创 2019-01-21 22:45:39 · 284 阅读 · 0 评论