摘要: 1 #ifndef _SEG_TREE_H_ 2 #define _SEG_TREE_H_ 3 4 #include 5 #include 6 #include 7 #include 8 9 typedef struct seg_node10 {11 int left, right;12 int mid;13 int cover;//the segment is weather existed14 /* some useful data*/15 /* ....... */16 seg_node():left(0),right(0),... 阅读全文
posted @ 2013-08-28 11:53 老司机 阅读(262) 评论(2) 推荐(0) 编辑