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 1198. Jobbery

Some tests
Posted by Rustam Ganeyev 17 Nov 2009 03:02
Very good problem. Thx to autors!

Some tests, that helped me to to solve that problem.
7
2 7 0
3 0
4 0
5 0
3 0
1 0
6 0
answer:
1 6 7 0

9
3 5 0
3 0
2 8 0
5 0
4 6 0
7 9 0
6 0
9 0
0
answer: 1 0

9
2 0
3 4 0
1 0
5 8 0
6 0
4 0
3 8 0
9 0
7 0
answer:
1 2 3 4 5 6 7 8 9 0

3
2 0
3 0
0
answer:
1 0

3
2 0
3 0
1 0
answer:
1 2 3 0

5
2 0
3 0
0
3 0
4 0
answer:
0

4
2 3 0
1 0
0
1 0
answer:
4 0

Edited by author 05.12.2009 04:56
Re: Some tests
Posted by Edric Mao 3 Dec 2010 19:30
Thx !