SPOJ FASTFLOW MAXFLOW

Правка en2, от game_changer007, 2015-12-29 21:44:32

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!!

Теги maxflow, spoj, algorithms, dinic

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский game_changer007 2015-12-29 21:44:32 17 Tiny change: 'ase help!!' -> 'ase help!!\n\nEdit:Got AC!!'
en1 Английский game_changer007 2015-12-27 23:32:41 287 Initial revision (published)