ENG  RUSTimus Online Judge
Online Judge
Online contests
About Online Judge
Frequently asked questions
Site news
Problem set
Submit solution
Judge status
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
back to board

Discussion of Problem 1774. Barber of the Army of Mages

Weak Test Cases
Posted by Pooya Zafar 13 Oct 2010 22:06
Hi admins

I have a greedy algorithm that is completely wrong but when I submited it gave AC and so I think that your test cases are too weak. a simple test case that my code is wrong for that is:
4 1
1 2
3 2
1 6
5 4
Correct Answer:

but my code answer is: No

Please check your test cases.
Thanks in advance
Your test was added. Thank you. (-)
Posted by Sandro (USU) 14 Oct 2010 11:05