如果你把(x,y)(x,y)(x,y)转化成了一个矩形 请记得在离散化的时候开longlonglong longlonglong 因为x+w−1x+w-1x+w−1和y+h−1y+h-1y+h−1会爆intintint
(但是我因为离散化没排序瞪了半天……