Doubt in Flow modelling

Правка en1, от ujzwt4it, 2016-09-25 14:07:59

I was trying to solve this problem http://codeforces.net/gym/100703/problem/F

In the discussion given, people have discussed about DP and flows solution to the problem. The DP is well understood.

Can someone please explain the flows solution for the problem?

Also, is there a way to ensure exactly k edges are selected in the min-cut of a network?

Thanks in advance.

Теги flows, #gym

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ujzwt4it 2016-09-25 14:07:59 402 Initial revision (published)