算法·理论12个月前可持久化线段树学习笔记你可以用指针写。 P4137 Rmq Problem / mex 这题可以 bitset 配合莫队水过。不过使用可持久化权值线段树是高贵stripe_python·9 次浏览