摘要:
点击查看代码 #include<iostream> using namespace std; const int N = 1e3 + 10; int a[N][N], b[N][N]; void insert(int x1, int y1, int x2, int y2, int c) { b[x1 阅读全文
posted @ 2022-04-26 22:10
wKingYu
阅读(38)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<iostream> using namespace std; const int N = 1e5 + 10; int a[N], b[N]; void insert(int l, int r, int c) { b[l] += c; b[r + 1] -= c; } 阅读全文
posted @ 2022-04-26 21:39
wKingYu
阅读(31)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<iostream> using namespace std; const int N = 1e3 + 10; int a[N][N], s[N][N]; int main() { int n, m, q; scanf("%d %d %d", &n, &m, &q); 阅读全文
posted @ 2022-04-26 21:10
wKingYu
阅读(35)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<iostream> using namespace std; const int N = 1e5 + 10; int a[N], s[N]; int main() { int n, m; scanf("%d %d", &n, &m); for (int i = 1; 阅读全文
posted @ 2022-04-26 20:31
wKingYu
阅读(36)
评论(0)
推荐(0)

浙公网安备 33010602011771号