.
This commit is contained in:
parent
2237e25347
commit
b8fb261544
@ -1,5 +1,5 @@
|
||||
CC = gcc
|
||||
CFLAGS = -g -Wall -Werror
|
||||
CFLAGS = -g -Wall -Werror -std=c99
|
||||
|
||||
all: program
|
||||
|
||||
|
BIN
sk1a/main.o
Normal file
BIN
sk1a/main.o
Normal file
Binary file not shown.
@ -97,7 +97,7 @@ int solve_maze(char* maze, int size) {
|
||||
} else if (posX == size - 1 && posY == size - 1) {
|
||||
maze2d[0][0] = '*';
|
||||
|
||||
//cleanup data bits
|
||||
//cleanuup data bits
|
||||
for (int y = 0; y < size; y++) {
|
||||
for (int x = 0; x < size; x++) {
|
||||
if (maze2d[y][x] == CHECKED_BIT || maze2d[y][x] == 0) {
|
||||
@ -124,7 +124,7 @@ int solve_maze(char* maze, int size) {
|
||||
maze[y * size + x] = maze2d[y][x];
|
||||
}
|
||||
}
|
||||
printf("\nend");
|
||||
printf("\n\nend");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
BIN
sk1a/maze.o
Normal file
BIN
sk1a/maze.o
Normal file
Binary file not shown.
BIN
sk1a/program
Executable file
BIN
sk1a/program
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user