首页 > TAG信息列表 > 1348

LightOJ-1348 Aladdin and the Return Journey

Aladdin and the Return Journey 树链剖分模板题 结点单点修改 #include <iostream> #include <cstdio> #include <algorithm> #include <vector> using namespace std; const int maxn = 3e4 + 10; vector<int>gra[maxn]; int dep[maxn]; int siz[maxn]; in