Search found 4 matches

by Incognegro
Mon Mar 31, 2003 5:53 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 50105

You are accumulating larger values of s in intenta as you try out
the different possibilities. I think your mistake is in assuming that
the smallest value for bottle movements is total - the largest value.

Just accumulate on the smallest value instead and forget the
subtraction from total idea.
by Incognegro
Sat Mar 29, 2003 11:58 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649

rewrote them in C. worked for me!

I just ended up rewriting my solutions in C instead of Java. Makes life much easier in a lot of ways given the wieird Java restrictions. Seems my solutions were correct and there was something wrong with Java. All is well except for the damnably high number of rejected submissions. There goes my per...
by Incognegro
Tue Mar 25, 2003 10:04 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649

additonal information

This is really my first ever post and my first submissions to the contest, so I would appreciate some pointers. The rules on Java are really wierd, I hate having to change my code and fold in the wierd subroutines I am importing from a util class I keep around. It makes me really think about doing s...
by Incognegro
Tue Mar 25, 2003 10:00 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649

100 101 WA in Java

I am at a loss as to why my programs that I submitted give WA. I hope its nothing to do with the wierd Java restrictions. Shame that the system cannot tell me what the wrong and right input is !!!! Here is the code for 100: [java] import java.io.IOException; class Main { static int countDigits(Strin...

Go to advanced search