From 8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 22 Apr 2025 09:00:15 +0200 Subject: Removed old scripts and updated public API --- tools/300_solve_small/solve_small.c | 2 +- tools/301_solve_file/solve_file.c | 2 +- tools/302_solve_multisol/solve_multisol.c | 2 +- tools/400_solvetest/solve_test.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/300_solve_small/solve_small.c b/tools/300_solve_small/solve_small.c index 2efbcb5..dcd47c1 100644 --- a/tools/300_solve_small/solve_small.c +++ b/tools/300_solve_small/solve_small.c @@ -25,7 +25,7 @@ void run(void) { int i; int64_t n; long long stats[NISSY_SIZE_SOLVE_STATS]; - char sol[SOL_BUFFER_LEN], cube[22]; + char sol[SOL_BUFFER_LEN], cube[NISSY_SIZE_CUBE]; printf("Solved the following scrambles:\n\n"); for (i = 0; scrambles[i] != NULL; i++) { diff --git a/tools/301_solve_file/solve_file.c b/tools/301_solve_file/solve_file.c index fcc018d..d9084fd 100644 --- a/tools/301_solve_file/solve_file.c +++ b/tools/301_solve_file/solve_file.c @@ -12,7 +12,7 @@ char scrambles[MAX_SCR][MAX_SCR_LEN]; void run(void) { int64_t i, nsols; long long stats[NISSY_SIZE_SOLVE_STATS]; - char sol[SOL_BUFFER_LEN], cube[22]; + char sol[SOL_BUFFER_LEN], cube[NISSY_SIZE_CUBE]; printf("Solved the following scrambles:\n\n"); for (i = 0; i < N; i++) { diff --git a/tools/302_solve_multisol/solve_multisol.c b/tools/302_solve_multisol/solve_multisol.c index f6057d7..a2896a9 100644 --- a/tools/302_solve_multisol/solve_multisol.c +++ b/tools/302_solve_multisol/solve_multisol.c @@ -18,7 +18,7 @@ void run(void) { int i; int64_t n; long long stats[NISSY_SIZE_SOLVE_STATS]; - char sol[SOL_BUFFER_LEN], cube[22]; + char sol[SOL_BUFFER_LEN], cube[NISSY_SIZE_CUBE]; printf("Solved the following scrambles:\n\n"); for (i = 0; scrambles[i] != NULL; i++) { diff --git a/tools/400_solvetest/solve_test.c b/tools/400_solvetest/solve_test.c index a724320..1bfe851 100644 --- a/tools/400_solvetest/solve_test.c +++ b/tools/400_solvetest/solve_test.c @@ -45,7 +45,7 @@ void run(void) { int i; int64_t n; long long stats[NISSY_SIZE_SOLVE_STATS]; - char sol[SOL_BUFFER_LEN], cube[22]; + char sol[SOL_BUFFER_LEN], cube[NISSY_SIZE_CUBE]; for (i = 0; s[i].scramble[0]; i++) { printf("\n%d. %s\n", i, s[i].scramble); -- cgit v1.3