我 O(n2)\text{O}(n^2)O(n2) 的暴力吸口氧给过了。。
隔壁 loj\text{loj}loj 时限 100ms100\text{ms}100ms,并且数据范围扩大到 2×1052\times10^52×105。