From 39e736f68c0d92b47bd124357a33c02d2bd2fdc5 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 19 Jun 2025 09:33:42 +0200 Subject: Small fixes --- tools/301_solve_file/solve_file.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/301_solve_file') diff --git a/tools/301_solve_file/solve_file.c b/tools/301_solve_file/solve_file.c index 5976dc0..2fc3a98 100644 --- a/tools/301_solve_file/solve_file.c +++ b/tools/301_solve_file/solve_file.c @@ -20,6 +20,7 @@ void run(void) { for (i = 0; i < N; i++) { printf("%" PRId64 ". %s\n", i+1, scrambles[i]); printf("Solving scramble %s\n", scrambles[i]); + fflush(stdout); if (nissy_applymoves(NISSY_SOLVED_CUBE, scrambles[i], cube) != NISSY_OK) { printf("Invalid scramble\n"); @@ -32,6 +33,7 @@ void run(void) { printf("No solution found\n"); else printf("Solutions:\n%s\n", sol); + fflush(stdout); } } -- cgit v1.3