Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有段树的 STL 吗?否则我们可以使用任何其他库函数来实现它吗?我想知道,因为它可以更大程度地减少我们在编程比赛中的时间!!
STL 中没有这样的东西,但是有一个称为间隔容器库 (ICL)的 Boost 库,它基本上是您正在寻找的数据结构的实现。