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 1004. Sightseeing Trip

why wa #1 ?
Posted by Baurzahn 14 Jul 2009 17:22
why wa #1 ?
I found the first test:
here is test 1:
4 6
1 2 40
1 3 50
1 40 60
2 3 10
2 4 30
3 4 20
one answer: 2 3 4
but my programm outputs 2 3 4
WHY WA????

Edited by author 14.07.2009 17:38
Re: why wa #1 ?
Posted by 3a[3.141592..]Jlu 16 Jul 2009 17:14
Your test is incorrect!!!
Re: why wa #1 ?
Posted by 3a[3.141592..]Jlu 16 Jul 2009 17:39
for the task input answer :
1 2 5 3
No solution.

is rigth?
Re: why wa #1 ?
Posted by Baurzahn 20 Jul 2009 11:24
my answer for the task input
1 3 5 2
No solution.
this is the same with the task output
why wa?
what is the first test?
Re: why wa #1 ?
Posted by Yugi 21 Oct 2009 06:09
In the town there are N crossing points numbered from 1 to N and M two-way roads numbered from 1 to M.

Why there is a crossing point numbered 40?