Please read the new rule regarding the restriction on the use of AI tools. ×
Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

SPOJ FASTFLOW — Fast Maximum Flow

Revision en1, by ashu326, 2018-01-31 13:19:27

Hi,I am trying to solve this problem on Spoj.

I have implemented simple Dinic's algorithm, but getting wrong answer. Here is the solution link code.cpp.

Am I doing anything wrong?

Please help!!

Tags spoj problem, max-flow, dinic

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ashu326 2018-01-31 13:19:27 306 Initial revision (published)