摘要: Solution 一眼 \(\mathcal{O}(n)\) 吊打 \(\mathcal{O}(n \log n)\)。 求个前缀和,然后双指针去移动,求最大值。 int qzh[N][2], a[N]; int maxx = 0, ansl, ansr; int f = 0; int cnt = 阅读全文
posted @ 2022-06-22 15:31 TLE_Automation 阅读(57) 评论(0) 推荐(0)