Search found 8 matches

by troy
Mon Nov 22, 2004 11:12 pm
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 32526

Solution solved

OK Found what the problem was.
Input buffer size was to small once changed to 256 char it was accepted.

Have to rewrite my the readln method so it doesnt require a buffer size.

Thanks Troy
by troy
Mon Nov 22, 2004 12:59 am
Forum: Volume 8 (800-899)
Topic: 843 - Crypt Kicker
Replies: 51
Views: 25432

Compiler Error - Crypt Kicker Problem - Any Suggestions?

Hi, My code passes on the Programming Challanges site but gets a compilier error here. Could be the archaic version of Java on the server. :D Here are the compiler error messages: 03092288_24.java: In class `Main': 03092288_24.java: In method `backTrack(java.lang.String[],int,int)': 03092288_24.java...
by troy
Tue Nov 16, 2004 11:33 am
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 32526

10034 Freckles - Java Help!! WA

Hi,

I keep getting WA for this problem.
I used Prims Alg to find the MST.

Is there a special Input case Im Missing?

Any suggestions?


// Code content Removed //.
by troy
Tue Nov 09, 2004 10:31 pm
Forum: Volume 8 (800-899)
Topic: 843 - Crypt Kicker
Replies: 51
Views: 25432

Java code wont compile

Hi, My Java code wont compile can anyone help? It compiles and passes on the programming challenges site. Problem is 843 Crypt Kicker. Code Follows: [java] import java.io.*; import java.util.*; class Main { static boolean finished = false, solutionFound = false; static String[] dictionary, dicFormat...
by troy
Wed Jul 28, 2004 9:57 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 80040

:P

Hi, submitted my original code I posted in the Volume C section with
the parseInt changed to parseLong, and increased buffer to 100,000.
Still reading input in a line at a time.

What a mission - alot easier to get acceptance with C++ code.

Thanks Larry!
[/b]
by troy
Wed Jul 28, 2004 9:29 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 80040

10038

Hi Larry,
readln function only reads in 1 number at a time (Breaks when finds a space in input) so I figured 100 would be plenty.
I did increase it to 1000 to give it a shot - No go still WA.

Any more ideas?
by troy
Wed Jul 28, 2004 6:00 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 80040

#$%@# 10038 WA --Heeeeelllpppp

Hi, Ive already posted this at the appropriate place but Im not getting any help there. I originally tried reading an enitire line, but changed tack to read individual set of numbers from input file (Runs much quicker). However I still keep getting the dreaded WA. Test Data: (From Another Post). 4 1...
by troy
Fri Jul 23, 2004 11:00 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 80040

10038 - Java Implementation. WA

Hi, Ive been going over this problem and can't get it to work. Can anyone help with where the codes wrong. - 1st post so excuse me if I bugger up the pasted code. [java] import java.util.*; import java.io.*; class Main { static final int BUFFER = 24000; public static void main(String [] args){ Main ...

Go to advanced search