BZOJ.4399.魔法少女LJJ(线段树合并)
$m$次$7$种操作:新建权值为$x$的点;合并两点所在连通块;询问连通块大小、其中所有点的权值积、第$k$小权值;将某连通块所有点的值对$x$取$\min$或$\max$。
$m\leq4\times10^5$。
------------------------------------------------------------------------------------------------------------------------
很久以前的奇怪但现在依旧成立的签名
attack is our red sun $$\color{red}{\boxed{\color{red}{attack\ is\ our\ red\ sun}}}$$ ------------------------------------------------------------------------------------------------------------------------
很久以前的奇怪但现在依旧成立的签名
attack is our red sun $$\color{red}{\boxed{\color{red}{attack\ is\ our\ red\ sun}}}$$ ------------------------------------------------------------------------------------------------------------------------