Skip to content

Commit 58663a4

Browse files
committed
update comment
1 parent 8704692 commit 58663a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/graphs/functional_graph_processor.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//! https://github.com/Aeren1564/Algorithms/blob/master/Algorithm_Implementations_Cpp/Graph_Theory/Special_Graphs/functional_graph_processor.sublime-snippet
33
//! @code
44
//! // 0 <= a[i] < n
5-
//! auto [t, cycle] = func_graph(a);
6-
//! auto [cyc_id, cyc_pos] = t[v].root_of;
5+
//! auto [root_of, cycle, childs] = func_graph(a);
6+
//! auto [cyc_id, cyc_pos] = root_of[v];
77
//! int root = cycle[cyc_id][cyc_pos];
88
//! bool is_on_cycle = (v == root);
99
//! @endcode

0 commit comments

Comments
 (0)