有 nnn 个任务,做第 i 个任务需要 xix_ixi 点时间,要在 yiy_iyi 时间前做完 ,问最多做几个任务?
n≤2×105,yi≤105,xi≤yin \le 2 \times 10^5 , y_i \le 10^5 , x_i \le y_in≤2×105,yi≤105,xi≤yi