Search found 7 matches

by RedGreenCode
Sun Nov 08, 2015 3:04 am
Forum: Volume 9 (900-999)
Topic: 978 - Lemmings Battle!
Replies: 3
Views: 4197

Re: 978 - Lemmings Battle!

I used this problem to try out the idea of using test-drive development for writing competitive programming solutions. If you're interested, or just want more information on solving this problem, I wrote up my results here: http://www.redgreencode.com/solving-uva ... nit-tests/
by RedGreenCode
Sun Nov 08, 2015 3:00 am
Forum: Volume 114 (11400-11499)
Topic: 11402 - Ahoy, Pirates!
Replies: 45
Views: 14759

Re: 11402 - Ahoy, Pirates!

If you're having trouble with this problem, I wrote a detailed editorial that might help: http://www.redgreencode.com/solving-uva ... ent-trees/
by RedGreenCode
Fri Aug 21, 2015 7:50 am
Forum: Volume 7 (700-799)
Topic: 732 - Anagrams by Stack
Replies: 17
Views: 11034

Re: 732 - Anagrams by Stack

I wrote an editorial about optimizing a Java solution to this problem to get it to run in under the time limit: http://www.redgreencode.com/implementin ... o-uva-732/
by RedGreenCode
Fri Aug 21, 2015 7:42 am
Forum: Volume 115 (11500-11599)
Topic: 11572 - Unique Snowflakes
Replies: 36
Views: 11824

Re: 11572 - Unique Snowflakes

It took me a while to get a working (and sufficiently fast) solution to this one, so I wrote an editorial on it once I got my code accepted: http://www.redgreencode.com/uva-11572-u ... nowflakes/
by RedGreenCode
Fri Aug 21, 2015 7:38 am
Forum: Volume 4 (400-499)
Topic: 454 - Anagrams
Replies: 97
Views: 19969

Re: 454 - Anagrams

Sometimes it helps to have a process that you follow for every problem. I used this problem as an example in a post I wrote about a process for programming puzzle solving: http://www.redgreencode.com/how-to-attack-a-programming-puzzle/ It includes some pseudocode for UVa 454 if you're having trouble...
by RedGreenCode
Fri Aug 21, 2015 7:30 am
Forum: Volume 113 (11300-11399)
Topic: 11340 - Newspaper
Replies: 154
Views: 41545

Re: 11340 - Newspaper

When I was solving this problem in Java, I ran into problems with character encoding (as mentioned elsewhere in this thread) and I/O performance. I wrote up my findings in an editorial: http://www.redgreencode.com/solving-uva-11340-in-java/
by RedGreenCode
Wed May 13, 2015 7:58 am
Forum: Volume 123 (12300-12399)
Topic: 12356 - Army Buddies
Replies: 21
Views: 4994

Re: 12356 - Army Buddies

If you're using Java for this problem and hitting the time limit, there's some good advice here about optimizing I/O: http://www.quora.com/On-UVA-12356-Java- ... ode-solved

Go to advanced search