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 1416. Confidential

At last AC...Who got WA#12 can test this data:
Posted by Yitao 22 Jun 2007 15:23
6 6
1 2 8
2 3 3
3 5 2
2 4 7
4 6 2
2 5 6
The correct answer is:
Cost: 22
Cost: 25
But the program made by me which WA 12 prints:
Cost: 22
Cost: 20
Re: At last AC...Who got WA#12 can test this data:
Posted by Lomir 30 Jun 2007 18:39
I also got WA 12, but pass this test correctly...

Ops, I forget that weight of an edge can be equal to 0.

Edited by author 30.06.2007 20:00