i have completed the fellowing cases
0
2 A A
25
A B
B C
C D
D E
E F
F G
G H
H I
I J
J K
K L
L M
M N
N O
O P
P Q
Q R
R S
S T
T U
U V
V W
W X
X Y
Y Z
999999999 A Z
4
A b
A B
b c
B c
18 A c
4
A b
A B
b c
B c
19 A c
5
A D
D X
A b
b c
c X
39 A X
-1
Case 1:
2
A
Case 2:
3605038190
A-B-C ...
Search found 2 matches
- Thu Jan 01, 2004 4:14 am
- Forum: Volume 105 (10500-10599)
- Topic: 10537 - The Toll! Revisited
- Replies: 27
- Views: 14920
- Thu Jan 01, 2004 4:02 am
- Forum: Volume 105 (10500-10599)
- Topic: 10537 - The Toll! Revisited
- Replies: 27
- Views: 14920
10537 - Toll! Revisited [WA]
i got WA....help~~
[java]
import java.util.*;
import java.io.*;
class Main {
public void Begin() {
String tmpstr;
StringTokenizer st;
int casenum = 1;
while((tmpstr = Main.ReadLn(255)) != null) {
st = new StringTokenizer(tmpstr);
if(st.nextToken().equals("-1"))
break;
int roadnum ...
[java]
import java.util.*;
import java.io.*;
class Main {
public void Begin() {
String tmpstr;
StringTokenizer st;
int casenum = 1;
while((tmpstr = Main.ReadLn(255)) != null) {
st = new StringTokenizer(tmpstr);
if(st.nextToken().equals("-1"))
break;
int roadnum ...