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 1227. Rally Championship

Why WA#9?
Posted by Lucifer 24 Sep 2006 17:10
Re: Why WA#9?
Posted by hoan 1 Dec 2010 19:49
try this:
input:
3 2 12
1 2 10
2 3 5

output:
YES

if you WA#17 try this:
input:
4 3 12
1 2 5
1 3 4
3 4 4

output:
YES

GOOD LUCK!!!