特判了 \(sum - s < 0\),但没有考虑 \(sum - s = 0\)。挂为 0pts。
由于写的不够优,贪心+二分的思路 TLE 了。
由于不明原因,输出 \(\max(a_i + b_i)\) 能过。
非常神奇。
一句话总结:挂分挂成sb了。