第四题:排序 + 懒标记线段树 https://paste.ubuntu.com/p/cysnBYC9QX/