|
|
вернуться в форумTest #9 Послано ftc 21 янв 2007 13:11 I suppose that test #9 isn't correct, because we can use Kruskal's algo if we'll consider weights of vectors as wi - 1 / ((INF) ^ ni), where wi is weight of i-th vector ans ni is its number. It's easy to see that in this case Kruskal's algo gives us an optimal solution. 2Admins: Can you please check the test? Re: Test #9 i get WA#9 too. i don't know what is wrong is my programme. Re: Test #9 Послано 任你行 21 мар 2007 13:30 I am also get wa on Test #9,can anybody give me any hints? thx Edited by author 22.03.2007 13:52 |
|
|