Educational Codeforces Round 155 (Rated for Div. 2) F. Last Man Standing(ST表/dp的松弛思想)
题目t(tusingnamespacestd;#definelllonglong#defineMPmake_pairmt19937rnd(time(0));constintMAXN=4e5+5;constintlim=2e5;lla[MAXN],h[MAXN],n,lg[MAXN];llans[MAXN];structnode{intx,y;}s[20][MAXN];nodeoperator+(n