We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3043f2 commit f479caaCopy full SHA for f479caa
src/max_flow_network_dinic_algorithm.cpp
@@ -1,8 +1,9 @@
1
2
#define NN 1505
3
4
-int cap[NN][NN], deg[NN];
+int cap[NN][NN];
5
vector<vector<int> > adj;
6
+
7
int q[NN], prev[NN];
8
int dinic( int n, int s, int t )
9
{
0 commit comments