ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1182. Team Them Up!

Tovarischi!!!! Help me Please!! I Get WA 43 !!! :(
Posted by 6yxa/\bl 9 Aug 2007 14:15
OX-OX-OX
Re: Tovarischi!!!! Help me Please!! I Get WA 43 !!! :(
Posted by Chmel_Tolstiy 9 Aug 2007 14:44
You can send to me your code.

naxart@yandex.ru
Re: Tovarischi!!!! Help me Please!! I Get WA 43 !!! :(
Posted by 107th( 365 group TyumenSU ) 9 Aug 2007 15:30
Thank you!! But I Already found my mistake. Who has WA 43
Try
6
2 3 4 5 0
1 3 6 0
1 2 4 5 0
1 3 5 6 0
1 3 4 6 0
2 4 5 0
output must be
3 1 2 3
3 4 5 6
Re: Tovarischi!!!! Help me Please!! I Get WA 43 !!! :(
Posted by Alexander Mangilyov (TNU) 7 Jul 2009 00:45
You must use ALL people. Don't miss them while filling dp to find optimal partition.