摘要:
#include <iostream> #include <queue> using namespace std; const int inf = 2147483647; const int MAXX = 2e5 + 11; int n,m,s,cnt; int dis[MAXX]; int to[ 阅读全文
摘要:
#include <iostream> #define int long long using namespace std; const int MAXX = 1e5 + 11; int a[MAXX]; struct node { int l,r,sum,add; // add 为懒标记 } tr 阅读全文