Search found 2 matches

by oxoxoxox
Thu Jan 01, 2004 4:14 am
Forum: Volume 105 (10500-10599)
Topic: 10537 - The Toll! Revisited
Replies: 27
Views: 10206

testcase and my answer

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-D-E-F-G-H-I-J-K-L-M...
by oxoxoxox
Thu Jan 01, 2004 4:02 am
Forum: Volume 105 (10500-10599)
Topic: 10537 - The Toll! Revisited
Replies: 27
Views: 10206

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 = Integer.parseInt(...

Go to advanced search