SPOJ FASTFLOW MAXFLOW
Hi,I am trying to solve this problem on Spoj.
I have implemented simple Dinic's algorithm only,but am getting TLE.Here is the solution link solution .Am I doing anything wrong?
Please help!!
Edit:Got AC!!