Skip to content

Commit 053684f

Browse files
committed
nit at docs
1 parent 8396676 commit 053684f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

library/graphs/bridges_cuts/bcc_callback.hpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@
66
//! vector<pii> edges(m);
77
//! UF uf(n);
88
//! bcc_callback(adj, [&](const vi& nodes) {
9-
//! if (sz(nodes) == 2)
10-
//! return; // is bridge assuming no multiple edges
9+
//! if (sz(nodes) == 2) {
10+
//! // nodes[0] <=> nodes[1] is a bridge
11+
//! // (if no multiple edges)
12+
//! // if multiple edges, then join them too in uf
13+
//! return;
14+
//! }
1115
//! for (int v : nodes) uf.join(v, nodes[0]);
1216
//! });
1317
//! vector<basic_string<int>> bridge_tree(n);

0 commit comments

Comments
 (0)