BZOJ 3262 陌上花开、HDU 5618 Jam's problem again(三维偏序、cdq分治 + BIT)
题意:给定N≤105个三元组(xi,yi,zi),xi,yi,zi≤105定义偏序关系(xi,yi,zi)≤(xj,yj,zj)满足xi≤xj,yi≤yj,zi≤zj求每个三元组≤它小的三元组个数分析:cdq分治模版题BZOJ 3262代码://
//CreatedbyTaoSamaon2016-02-02
//Copyright(c)2015TaoSama.Allrightsreserved.