随笔分类 -  线段树

hdu4366 Successor (dfs序+zkw线段树)
摘要:SuccessorTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2559Accepted Submission(s): 613Problem De... 阅读全文
posted @ 2014-10-11 14:17 someblue 阅读(611) 评论(0) 推荐(0)
zkw线段树专题
摘要:题目来自大神博客的线段树专题http://www.notonlysuccess.com/index.php/segment-tree-complete/hdu1166 敌兵布阵题意:O(-1)思路:O(-1)线段树功能:update:单点增减 query:区间求和#include #include ... 阅读全文
posted @ 2014-08-18 00:28 someblue 阅读(429) 评论(0) 推荐(0)
ZOJ 2671 Cryptography 矩阵乘法+线段树
摘要:B -CryptographyTime Limit:5000MSMemory Limit:32768KB64bit IO Format:%lld & %lluSubmitStatusPracticeZOJ 2671DescriptionYoung cryptoanalyst Georgie is p... 阅读全文
posted @ 2014-08-15 10:37 someblue 阅读(253) 评论(0) 推荐(0)