给一个 n×nn\times nn×n 的二维平面。
mmm 次操作,每次操作:
保证这些格子都不超过 n×nn\times nn×n 的范围。要求 O(mlogn)\mathcal O(m\log n)O(mlogn)。最近被训傻了,求教/kk