Search found 4 matches

by OutCaster
Sun Apr 04, 2004 12:41 am
Forum: Volume 101 (10100-10199)
Topic: 10152 - ShellSort
Replies: 33
Views: 8868

10152 ShellSort .. WA

Hi I'm getting the exact output as other people, but I'm still getting WrongAnswer in like 4.5 seconds .. Here's some of my code, I'm not sure if I'm reading the information correctly, or maybe there are special cases that I need to check? ... [java] public static void main (String args[]) { int cas...
by OutCaster
Wed Feb 25, 2004 10:40 pm
Forum: Volume 100 (10000-10099)
Topic: 10006 - Carmichael Numbers
Replies: 66
Views: 20604

10006 Time Limit Exceeded .. huh?

Hey guys

I've tried two ways .. precalculating and storing the numbers in an array .. and then i've tried calculating while the online judge spits out a number .. both have failed

I get time limit exceeded even though it runs on my in less than 10 seconds .. any thoughts?

Thanks
by OutCaster
Sun Feb 08, 2004 6:50 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 17893

cool thanks
by OutCaster
Sat Feb 07, 2004 8:53 pm
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 17893

10018 - How to reverse an int?

Hey guys

what's the basic algorithm to reverse and int in Java?

Thanks

Go to advanced search