Skip to content

Commit

Permalink
Update comment of bipolar orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeletWithoutEgg committed Feb 12, 2024
1 parent 3bc3ac7 commit 63f2a28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions codes/Graph/BipolarOri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ struct BipolarOrientation {
vector<int> v;
for (int x = S; x != -1; x = nxt[x]) v.push_back(x);
return v;
}
} // S, T are unique source / unique sink
void add_edge(int a, int b) {
g[a].emplace_back(b); g[b].emplace_back(a); }
};
// codeforces.com/contest/1916/submission/244774734
}; // 存在 ST 雙極定向 iff 連接 (S,T) 後整張圖點雙連通

0 comments on commit 63f2a28

Please sign in to comment.