摘要: 题目链接:区间更新 代码 #include<iostream> using namespace std; const int N = 1e5 + 5; int a[N], b[N]; int main() { int n, m; while (cin >> n >> m) { for (int i 阅读全文
posted @ 2024-05-31 23:35 韩熙隐ario 阅读(24) 评论(0) 推荐(0)
摘要: 题目链接:统计子矩阵 代码 #include<iostream> using namespace std; const int N = 505; int num[N][N]; int main() { int n, m, k; cin >> n >> m >> k; int count = 0; f 阅读全文
posted @ 2024-05-31 21:09 韩熙隐ario 阅读(26) 评论(0) 推荐(0)