Skip to content

Commit

Permalink
Update Dinic.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lacy108 authored Oct 13, 2018
1 parent c655622 commit 8bdf23e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/Flow/Dinic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,8 @@ int max_flow(int s,int t){
while((f=dfs(s,t,1e9))>0)
flow+=f;
}
}
}
int main(){
for(int i=0;i<V;++i)
g[i].clear();
}

0 comments on commit 8bdf23e

Please sign in to comment.