|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияIs it reduced to flow or matching ? Hint: you can find the minimum total amount of all bribes (but not the optimal values of bribes) if you know the solution of problem 1076. Good luck! Thank you, i tried to construct algo using this idea, but the second stage of that algo was wrong. Now i fixed it and got ac. Thank you! It is solvable by simplex algorithm!? Result must be non-negative integers, and integer resulted simplex is NP-complete problem. |
|
|