求优化

P1102 A-B 数对

@[mc_xiexie](/user/1095322) 你 $\Theta(n^2)$ 不炸就怪
by _O_v_O_ @ 2023-11-06 18:32:16


$O(n^2)$ 肯定过不了 $2\cdot10^5$ 啊。 @[mc_xiexie](/user/1095322)
by zhaohanwen @ 2023-11-06 18:32:30


@[mc_xiexie](/user/1095322) 可以参考一下题解。
by zhaohanwen @ 2023-11-06 18:33:27


@[zhaohanwen](/user/767660) @[_O_v_O_](/user/782941) 谢谢
by mc_xiexie @ 2023-11-06 18:34:08


|