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 1339. Babies

Test 4 && Test 5
Posted by TestT 24 Feb 2005 19:53
Test 4
4
0 2 3 1
2 3 1 0


4 2 3 1

##############
Test 5
4
0 4 1 2
0 0 3 0



1 4 3 2
Re: Test 4 && Test 5
Posted by Gorge Limon 24 Mar 2005 17:16
Why does the result not 3412 (Test #5)??
Re: Test 4 && Test 5
Posted by Sergey Baskakov, Raphail and Denis 1 May 2005 02:13
boy#1 cannot go with girl#3, cause girl#3 is in love with boy#3
I think so (-: