Search found 1 match

by theycallhimtom
Mon Oct 27, 2008 10:09 am
Forum: Volume 100 (10000-10099)
Topic: 10001 - Garden of Eden
Replies: 39
Views: 15415

Re: 10001 - Garden of Eden

My solution gets TLE. I use a memoized recursive function where the memoization table only has 512 entries.

EDIT: I changed my code to use StringBuilder to build up the output and output it all at once rather than System.out.println() and that fixed the TLE.

Go to advanced search