摘要: 资料: 求逆序对:https://blog.csdn.net/ssimple_y/article/details/53744096 离散化:https://blog.csdn.net/xiangaccepted/article/details/73276826 一、离散化+求逆序对数 //a[i] 阅读全文
posted @ 2018-08-01 11:01 GoesOn 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 一、区间覆盖(将某个区间的所有值变为某个值)+区间查询(求区间和) 题目:HDU1698 #include<cstdio> #include<cstring> #include<cmath> #include<algorithm> #define lowbit(x) x&(-x) #define r 阅读全文
posted @ 2018-08-01 10:48 GoesOn 阅读(197) 评论(0) 推荐(0) 编辑