Submitting solution for level 1006 results in out of memory

Post Reply
Tron
Posts: 30
Joined: Fri Oct 22, 2010 6:59 pm

Submitting solution for level 1006 results in out of memory

Post by Tron »

I try to submit a solution for level 1006, but as result I get the following error:
Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 32 bytes) in /home/hacker_apache/html/hacker/html/coil/coil.php on line 157
I verified my solution locally and it seems to be correct. The server does not accept my answer and so I cannot proceed.
I already got this error at level 1005, but there the answer was accepted and I could proceed to level 1006.
Now I'm stuck at level 1006.
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post by adum »

i'll take a look at this today. see if i can make the checker more memory efficient...

i'm curious to see if you can catch up to me in coil :)
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post by adum »

this has now been fixed... who knew that PHP could leak so much memory just adding integers in a loop!
MrTerry
Posts: 34
Joined: Tue Jan 26, 2010 11:44 am

Post by MrTerry »

(offtopic) :
seems to be a race now :)
who will be king of the coil? adum or tron? :D
Runaway Robot LvL 452
path: DDDRDRDDRRDDRRDRRRDDRRRRDDDRRDDDRRDRDRDRDRRRRRDRRDRRRRRDDRRDDDDRDRRRDRRDDRDRDRRRRRDRDDDRDDRDRRRRDDDDDDRRRRRRR

boom at 1 1
your solution sucked

Oo wtf?
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post by adum »

seems like Tron has the edge right now... but i'm not giving up the fight just yet :)
Post Reply