摘要: 1.小美的平衡矩阵 二维前缀和。 二维前缀和维护 \(1\) 的个数,枚举长度,然后 \(n^2\) 查找即可,复杂度 \(O(n^3)\)。 点击查看代码 #include <bits/stdc++.h> int main(){ int n; std::cin >> n; std::vector< 阅读全文
posted @ 2025-11-13 19:52 Ke_scholar 阅读(10) 评论(0) 推荐(0)