Get Time
Search | Watch Thread  |  My Post History  |  My Watches  |  User Settings
View: Flat  | Threaded  | Tree
Previous Thread  |  Next Thread
help me out ... | Reply
lemme tell at the outset..
i am new to the topcoder.

I read the article by written gladius and found it very helpful....

I tried the same problem (SRM 156 Division 1, 900) whose algorithm has been explained clearly in the article (using DFS).

I followed the pseudo code described in the article.
But upon system testing , my java code is giving the error :

java.lang.OutOfMemoryError : Memory heap space.

How can i fix it ??
Do the algo need to be more efficient or there is any fault on my part..

may be gladius himself or somebody else suggest soemthing !!!

(do not suggest to use -Xmx -Xms, i cannot use it on topcoder)
Subject Author Date
help me out ... sumantbhardvaj Jun 22, 2006 at 2:45 PM EDT
Re: help me out ... Kawigi Jun 22, 2006 at 3:59 PM EDT
that worked !!!1 sumantbhardvaj Jun 22, 2006 at 5:20 PM EDT
Re: that worked !!!1 Kawigi Jun 22, 2006 at 5:40 PM EDT
I got it... sumantbhardvaj Jun 23, 2006 at 8:42 AM EDT
Re: I got it... Kawigi Jun 23, 2006 at 1:53 PM EDT
Re: I got it... d000hg Jun 27, 2006 at 8:41 AM EDT