Please, help me with one more solution
I already have AC for this task with two different solutions. Now I submited new optimal n^3 solution, but it has WA5. Help me please.
It is my solution. It built on Preflow-Push algorithm.
[code deleted]
Edited by moderator 16.06.2006 01:48
Re: Please, help me with one more solution
When I wrote Preflow-Push algo (it got WA at first time)
simple tester which uses AC solution momently helped me...
Re: Please, help me with one more solution
Re: Please, help me with one more solution
Can you tell me (elmariachi1414(at)mail.ru) how to implement solution, that works for 0.031 sec?
My implementation of Relabel-To-Front works for 0.25
Thank you!