【代码】LC: 点赋值区间复合(Point Set Range Composite)
这题挺有意思的,放个代码:#include<bits/stdc.h>
using namespace std;typedef long long LL;
#define lc(p) (p << 1)
#define rc(p) ((p << 1) | 1)const LL P 998244353;
const int N 5e5 10;
LL A[N], B[N];struct node {int l…
2026/8/9 20:17:25