If the board is:
Code: Select all
X X X X .
. . . X .
. X X X .
. . . . .
Code: Select all
5,4,
1,1,1,1,0,
0,0,0,1,0,
0,1,1,1,0,
0,0,0,0,0
Code: Select all
X X X X .
. . . X .
. X X X .
. . . . .
Code: Select all
5,4,
1,1,1,1,0,
0,0,0,1,0,
0,1,1,1,0,
0,0,0,0,0
Code: Select all
X X X X E
. . . X .
. X X X .
S . . . .
It is initialized with 2+xsize*ysize integers, not chars.without new lines?
I realized that after some tries (trying to debug the error), I got the first maze correct, so I dared to just reload and suddenly I got no error anymore. On to the next challenge. But I still wonder what this error could've been.chiefrocker wrote:I have finally solved this level according to my local tests, but my answer will not be accepted. I am getting "Your program failed to run correctly", but I find that message rather unspecific.
Code: Select all
Fatal error: Cannot redeclare buildMaze() (previously declared in /home/hacker_apache/html/hacker/html/challenge/misc/hvmmaze.php:32) in /home/hacker_apache/html/hacker/html/challenge/misc/hvmmaze.php on line 32
I got the same when attempting to try my already accepted solution. So seems there is a problem with the challenge.wischi wrote:Got the following error messageCode: Select all
Fatal error: Cannot redeclare buildMaze() (previously declared in /home/hacker_apache/html/hacker/html/challenge/misc/hvmmaze.php:32) in /home/hacker_apache/html/hacker/html/challenge/misc/hvmmaze.php on line 32