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

SkorKNURE Some tests [5] // Problem 1337. Bureaucracy 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!
Fyodor Menshikov Re: Some tests [4] // Problem 1337. Bureaucracy 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."
alp Re: Some tests [3] // Problem 1337. Bureaucracy 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
olpetOdessaONU [1 2/3] Re: Some tests [2] // Problem 1337. Bureaucracy 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?
olpetOdessaONU [1 2/3] Re: Some tests [1] // Problem 1337. Bureaucracy 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
Felix_Mate Re: Some tests // Problem 1337. Bureaucracy 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