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 1641. Duties

WA #1
Posted by beginner1010 8 Jul 2011 13:30
that's so strange
I`m getting WA on test 1
my code prints for sample input #1
1
2
3
1
2
1 2
1 3
1 5
2 3
and for second :
1
2
1
2
1 2
1 4
2 3
3 4
please help me !
thank you
Re: WA #1
Posted by beginner1010 8 Jul 2011 13:46
Accepted after reread the problem statement
problem says :
"Each student is assigned one classroom he is responsible for"
My output was wrong for test #1
Re: WA #1
Posted by Spatarel Dan Constantin 29 Nov 2013 06:10
In your output for sample #1 student no. 4 is never on duty!

"Each of the students should be on duty at least once during these [m] days."