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!!
Colin X Sam X Shayan | Easy Problems Duel | NAC Warmup #1
Codeforces Round 946 Solution Discussion