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 1337. Bureaucracy

Some tests
Posted by SkorKNURE 27 Nov 2008 03:24
-------------------------
10 7
2 3 1 3 4 1 6 1 2 5
3 4 0
1 0
0
3 0
1 4 0
4 5 0
8 0
0
8 0
7 9 0
1
0
2 4 5 10 0

My AC answer:
18
3
4
8
1
2
5
7
9
10
-------------------------
5 7
1 1 1 1 1
2 0
3 0
4 0
5 0
1 0
1
0
1 2 0

My AC answer: No Solution

Good luck!
Re: Some tests
Posted by Fyodor Menshikov 31 Dec 2008 04:38
Both your tests are invalid. Two officials cannot share one weekday. "So there may work not more than one official at the same time."
Re: Some tests
Posted by alp 24 Nov 2011 18:04
4 10
0
0
0
0
1
0
4 0
Own of ac answers is
3
1 2 3


Edited by author 24.11.2011 18:04
Re: Some tests
Posted by olpetOdessaONU [1 2/3] 27 Jul 2012 14:43
May be answer is

3
4

We need the 4-th document. Why we must get 1 2 3, but not to get 4?
Re: Some tests
Posted by olpetOdessaONU [1 2/3] 27 Jul 2012 15:51
This test helped me to get AC

4 4
4 2 3 1
0
0
1 2 0
0
1
3 0
3 4 0

Answer is
0
4
Re: Some tests
Posted by Felix_Mate 11 May 2017 19:21
This test helped me
7 13
2 4 1 5 7 6 3
3 0
4 5 0
3 0
3 0
3 0
3 0
3 0
6
1 3 6 0
1 2 3 4 6 0

answer is
24
5 7 4 2