版本比较
算法笔记:前缀和 & 差分
正文
增加 2 行删除 2 行
32 行未改动3334353637373839404178 行未改动12012112212312412412512612712845 行未改动32 行未改动::::info[例 参考代码]```cpp#include<bits/stdc++.h>#define int long long#define N 10000005//本处以n<=1e7举例 #define N 10000005//本处以n<=1e7举例using namespace std;int a[N],s[N],n,q;signed main(){ ios::sync_with_stdio(0);78 行未改动
```cpp#include<bits/stdc++.h>#define int long long#define N 10000005//本处以n<=1e7举例 #define N 10000005//本处以n<=1e7举例using namespace std;int a[N],d[N],n,q;signed main(){ ios::sync_with_stdio(0);45 行未改动