void access(int x) { int z = x; for(int y = 0; x; y = x, x = tr[x].p) { splay(x); tr[x].s[1] = y; } splay(z); }
如果把splay(z)去掉,会对复杂度有影响吗?
splay(z)