diff --git a/sk1a/readme.md b/sk1a/readme.md index f656121..c4ba955 100644 --- a/sk1a/readme.md +++ b/sk1a/readme.md @@ -19,16 +19,16 @@ return 1; if(issafe(maze, x, y, size) == 1) { // znazornenie stien maze[x * size + y] = '*'; - if (backtracking(maze, x, y + 1, size) == 1) { + if (backtracking(maze, x, y + 1, size) == 1) { //pohyb doprava return 1; } - if (backtracking(maze, x + 1, y, size) == 1) { + if (backtracking(maze, x + 1, y, size) == 1) { //pohyb dole return 1; } - if (backtracking(maze, x - 1, y, size) == 1) { + if (backtracking(maze, x - 1, y, size) == 1) { //pohyb dolava return 1; } - if (backtracking(maze, x, y - 1, size) == 1) { + if (backtracking(maze, x, y - 1, size) == 1) { //pohyb hore return 1; } maze[x * size + y] = ' '; @@ -37,5 +37,5 @@ return 1; } int solve_maze(char* maze, int size) { -return backtracking(maze, 0, 0, size); +return backtracking(maze, 0, 0, size); //volanie funkcie } \ No newline at end of file