输入 nnn,kkk 。
有 kkk 个二元组 (xi,yi)(x_i,y_i)(xi,yi),每组可以选出一个,问能不能覆盖整数集 [1,n][1,n][1,n]
要求时间复杂度在 O(NlogN)O(N\log N)O(NlogN) 以下