Search found 6 matches

by lorderico
Wed Oct 12, 2011 8:11 pm
Forum: General
Topic: How are times of 0.00 seconds possible?
Replies: 3
Views: 7431

How are times of 0.00 seconds possible?

It seems like all code should take some time, if only to run the main method and exit. How is it that so many people get 0.000 seconds for their run times?

Eric
by lorderico
Sun Sep 11, 2011 6:14 am
Forum: Volume 1 (100-199)
Topic: 124 - Following Orders
Replies: 49
Views: 6909

Re: #124 Looking for test cases

Uh yeah, well it actually works, I was just printing an extra space out at the end :x , Now why did I get WA instead of PE...

Oh well,
Eric
by lorderico
Sun Sep 11, 2011 3:18 am
Forum: Volume 1 (100-199)
Topic: 124 - Following Orders
Replies: 49
Views: 6909

#124 Looking for test cases

Hello, I am looking for some test cases for my wa code for 124 following orders. All other test cases I have found work on my code: import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Scanner; public cl...
by lorderico
Sun Mar 06, 2011 12:22 am
Forum: Volume 1 (100-199)
Topic: 107 - The Cat in the Hat
Replies: 278
Views: 19418

Re: WA in 107

This, is why uva problems can be frustrating. To me: The number of cats inside each (non-smallest) cat's hat is a constant, N. The height of these cats-in-a-hat is 1/(n+1) times the height of the cat whose hat they are in. The smallest cats are of height one; these are the cats that get the work don...
by lorderico
Sat Mar 05, 2011 8:17 pm
Forum: Other words
Topic: uva hunting- what does 2d, 7d, and 31d mean
Replies: 1
Views: 3577

uva hunting- what does 2d, 7d, and 31d mean

Hello,

On felix-halim.net/uva/hunting.php there are categories next to subs called 2d,7d, and 31d. What does that mean?

Thanks

Eric
by lorderico
Sat Oct 02, 2010 10:53 pm
Forum: Volume 115 (11500-11599)
Topic: 11572 - Unique Snowflakes
Replies: 36
Views: 12215

Re: 11572 - Unique Snowflakes

Hello, [EDIT] I checked the timing, and apparently it takes 1.8 seconds to just read in the data, and .15 seconds to do the dividing. That leaves about .05 seconds to combine the left and right in d+c. Something about those times don't seem right, especially because if it really takes 1.8 seconds to...

Go to advanced search