Search found 5 matches

by gmacar
Tue Aug 25, 2009 1:00 pm
Forum: Volume 5 (500-599)
Topic: 517 - Word
Replies: 13
Views: 5590

Re: 517.- WA Problem

gmacar wrote:Are there any tricky cases?
I'm always getting WA.
After a week, the judge has accepted my solution.
Guys, watch out... the output for s=0 can be deceptive. :cry:
by gmacar
Mon Aug 24, 2009 3:22 pm
Forum: Volume 5 (500-599)
Topic: 517 - Word
Replies: 13
Views: 5590

Re: 517.- WA Problem

Are there any tricky cases?
I'm always getting WA.
by gmacar
Wed Jun 14, 2006 1:12 pm
Forum: Volume 3 (300-399)
Topic: 321 - The New Villa
Replies: 17
Views: 9930

what kind of "time errors" ? :o
by gmacar
Tue Jun 06, 2006 4:45 pm
Forum: Volume 3 (300-399)
Topic: 321 - The New Villa
Replies: 17
Views: 9930

Oh, didn't know that. Thank you
by gmacar
Tue Jun 06, 2006 4:29 pm
Forum: Volume 3 (300-399)
Topic: 321 - The New Villa
Replies: 17
Views: 9930

Hi all,
here is my input:

Code: Select all

6 6 10
1 2
2 3
3 4
3 5
4 5
4 6
1 2
1 6
2 3
3 5
5 3
5 4
4 3
4 1
6 4
6 2

0 0 0
Which is the correct output??
The shortest sequence has 16 steps (?) but there are at least six solutions with 16 steps...

TY
Giuseppe

Go to advanced search