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 1099. Work Scheduling

Test Data 1:

8
1 2
1 7
1 8
2 5
2 6
3 4
3 7
4 5
5 6

Key: 4

Test Data 2:

8
1 2
1 3
1 6
2 3
2 4
4 7
4 8
5 6
5 7

Key: 4
aa Excuse me. Why are they 4? [3] // Problem 1099. Work Scheduling 12 Apr 2003 09:49
Of the first test, we can match 1-2,3-4,5-6,it is 6.
Of the first test, we can match 1-2,4-7,5-6,it is 6,too.
Sorry,I know your what you mean.
Maigo Akisame (maigoakisame@yahoo.com.cn) Not 4, but 8. You can matching 4 pairs of nodes. [1] // Problem 1099. Work Scheduling 6 Oct 2004 20:17
Yes,you can match 4 pairs.
So the key is 4......