Search found 5 matches

by Yeomin
Mon Mar 07, 2005 10:07 am
Forum: Volume 108 (10800-10899)
Topic: 10802 - Lex Smallest Drive
Replies: 36
Views: 17999

Because "0 3 4 5 3 0 6 7 8 6" can loop.

0 3 4 5 3 0 6 7 8 6 0 3 4 5 3 0 9 is smaller than 0 4 3 5 3 0 6 7 8 6 9.

And 0 3 4 5 3 0 6 7 8 6 0 3 4 5 3 0 6 7 8 6 0 3 4 5 3 0 9 is smaller.

And ....... Can't define Smallest drive.
by Yeomin
Mon Feb 07, 2005 12:08 pm
Forum: Volume 108 (10800-10899)
Topic: 10802 - Lex Smallest Drive
Replies: 36
Views: 17999

Thx. I got accepted.

this is my last test case. If you got WA, check this input.

Code: Select all

2
10 5 5
5 0
0 1
1 2
2 0
5 9

10 5 5
5 0
0 6
6 7
7 0
5 9
by Yeomin
Fri Feb 04, 2005 2:16 pm
Forum: Volume 108 (10800-10899)
Topic: 10802 - Lex Smallest Drive
Replies: 36
Views: 17999

I get WA, also.

This is my test case.
1
10 11 0
0 1
1 2
0 3
3 4
4 5
5 3
0 6
6 7
7 8
8 6
0 9
and, my output.
Case #1:
0
0 1
0 1 2
0 3
0 3 4
0 3 4 5
0 3 4 5 3 0 6
0 3 4 5 3 0 6 7
0 3 4 5 3 0 6 7 8
No drive.
is this correct?
by Yeomin
Fri Aug 13, 2004 7:16 am
Forum: Volume 105 (10500-10599)
Topic: 10508 - Word Morphing
Replies: 35
Views: 15534

Word's length is so long...

number of words and number of letters are higher than 1000.
by Yeomin
Tue Jul 20, 2004 3:34 pm
Forum: Volume 7 (700-799)
Topic: 795 - Sandorf's Cipher
Replies: 7
Views: 8161

Sample Input/Output

Input

1234567890##########1234567890######
###############################12345

Output

851##0851###62##73##974###9#03###642
#########42#######51#######3

Go to advanced search