正文
增加 3 行删除 3 行
12345614 行未改动21222324252627282936 行未改动6667686970717273749 行未改动**写在前面**这是一篇恶搞题解,如果你是oier新手,请移步[新手村](https://www.luogu.com.cn/paste/635z0oq6)查看新手友好代码-----------------------------------------------------14 行未改动代码如下:```cpp//Moth#include <iostream>#include <set>#define Iter set<Node>::iterator#define int long long36 行未改动int sum=0;auto p=get(l,r);for(auto i=p.first;i!=p.second;i++)sum+=((i->r)-(i->l)+1)*(i->v);return sum;}signed main(){ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);odt.emplace(0,10,0);9 行未改动12345614 行未改动21222324252627282936 行未改动6667686970717273749 行未改动**写在前面**这是一篇恶搞题解,如果你是oier新手,请移步[新手村](https://www.luogu.com.cn/paste/635z0oq6)查看新手友好代码-----------------------------------------------------14 行未改动代码如下:```cpp//Moth#include <iostream>#include <set>#define Iter set<Node>::iterator#define int long long36 行未改动int sum=0;auto p=get(l,r);for(auto i=p.first;i!=p.second;i++)sum+=((i->r)-(i->l)+1)*(i->v);return sum;}signed main(){ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);odt.emplace(0,10,0);9 行未改动