diff --git a/range_queries/heavy_light_decomposition.cpp b/range_queries/heavy_light_decomposition.cpp index 5f3f2f828..41c0fd56c 100644 --- a/range_queries/heavy_light_decomposition.cpp +++ b/range_queries/heavy_light_decomposition.cpp @@ -55,6 +55,7 @@ /** * A Basic Tree, which supports binary lifting + * @template, the data type of the values stored in the tree nodes */ template class Tree { @@ -226,6 +227,7 @@ public: /** * Segment Tree, to store heavy chains + * @template, the data type of the values stored in the tree nodes */ template class SG { @@ -300,6 +302,7 @@ private: /** * The Heavy-Light Decomposition class + * @template, the data type of the values stored in the tree nodes */ template class HLD : public Tree, public SG {