两个长度为 nnn 的数组 AAA 和 BBB,对于所有的 AiA_iAi + BjB_jBj 从小到大排序,输出第 LLL 到第 RRR 项。
当 n≤109n\le 10^9n≤109 的时候这题还可做吗?
求助。