正文
增加 3 行删除 3 行
195 行未改动全部展开196197198199200201202203204205206207208209210211212213214215138 行未改动全部展开195 行未改动全部展开#include<cstdlib>#include<ctime>using namespace std;const int INF=1<<30;const int N=1e5+5;struct Node{int val;int ls,rs;int siz;int pri;};Node t[N];int tot;int NewNode(int x){tot++;t[tot].val=x;t[tot].ls=t[tot].rs=0;t[tot].siz=1;t[tot].pri=rand();return tot;138 行未改动全部展开195 行未改动全部展开196197198199200201202203204205206207208209210211212213214215138 行未改动全部展开195 行未改动全部展开#include<cstdlib>#include<ctime>using namespace std;const int INF=1<<30;const int N=1e5+5;struct Node{int val;int ls,rs;int siz;int pri;};Node t[N];int tot;int NewNode(int x){tot++;t[tot].val=x;t[tot].ls=t[tot].rs=0;t[tot].siz=1;t[tot].pri=rand();return tot;138 行未改动全部展开