We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb156ee commit b4f4a61Copy full SHA for b4f4a61
library/trees/centroid_decomp.hpp
@@ -1,8 +1,7 @@
1
#pragma once
2
//! @code
3
//! vector<basic_string<int>> adj(n);
4
-//! centroid(adj, [&](const auto& adj,
5
-//! int cent, int par_cent) {});
+//! centroid(adj, [&](int cent, int par_cent) {});
6
//! @endcode
7
//! @time O(n log n)
8
//! @space O(n)
0 commit comments