摘要:
//洛谷p2367语文成绩 一维差分 #include<iostream> using namespace std; const int N = 10000010; int a[N], b[N]; int n; int p; void insert(int l, int r, int c) { b[ 阅读全文
posted @ 2024-07-22 13:25
某朝
阅读(23)
评论(0)
推荐(0)
摘要:
//洛谷p8218求区间和 #include<iostream> using namespace std; const int N = 100010; int n; int m; int a[N], s[N]; int main() { cin >> n; for (int i = 1; i <= 阅读全文
posted @ 2024-07-22 13:21
某朝
阅读(32)
评论(0)
推荐(0)