From 70504df895b4a60114ee4532da77e7ae2c0c5dc8 Mon Sep 17 00:00:00 2001 From: Oleksandr Hryshchenko Date: Sun, 9 Jan 2022 17:26:00 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'sk1a/maze.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sk1a/maze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sk1a/maze.c b/sk1a/maze.c index 8fa3a69..376fd2c 100644 --- a/sk1a/maze.c +++ b/sk1a/maze.c @@ -9,7 +9,7 @@ int solve_recursive(char* maze, int size, int x, int y, int down_visited, int ri int solve_maze(char* maze,int size){ int solved = solve_recursive(maze, size, 0, 0, 0, 0); - return 0; + return solved; } int solve_recursive(char* maze, int size, int x, int y, int down_visited, int right_visited){