UnderTakerMS@tg says to Happy Web Developer
但是有的时候时间复杂度必须超过N²的我也没办法