diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 09:00:15 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 09:00:15 +0200 |
| commit | 8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc (patch) | |
| tree | b79d8154f16a0dadd8d8265d32b8bd95e96263aa /tools | |
| parent | 510a7471348788fccba6b7c4b9f7b7cc9aee6ba9 (diff) | |
| download | nissy-core-8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc.tar.gz nissy-core-8b72e391c7185e3da0dfbf0ab60068ac37e4d5cc.zip | |
Removed old scripts and updated public API
Diffstat (limited to '')
| -rw-r--r-- | tools/300_solve_small/solve_small.c | 2 | ||||
| -rw-r--r-- | tools/301_solve_file/solve_file.c | 2 | ||||
| -rw-r--r-- | tools/302_solve_multisol/solve_multisol.c | 2 | ||||
| -rw-r--r-- | tools/400_solvetest/solve_test.c | 2 |
4 files changed, 4 insertions, 4 deletions
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) { | |||
| 25 | int i; | 25 | int i; |
| 26 | int64_t n; | 26 | int64_t n; |
| 27 | long long stats[NISSY_SIZE_SOLVE_STATS]; | 27 | long long stats[NISSY_SIZE_SOLVE_STATS]; |
| 28 | char sol[SOL_BUFFER_LEN], cube[22]; | 28 | char sol[SOL_BUFFER_LEN], cube[NISSY_SIZE_CUBE]; |
| 29 | 29 | ||
| 30 | printf("Solved the following scrambles:\n\n"); | 30 | printf("Solved the following scrambles:\n\n"); |
| 31 | for (i = 0; scrambles[i] != NULL; i++) { | 31 | 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]; | |||
| 12 | void run(void) { | 12 | void run(void) { |
| 13 | int64_t i, nsols; | 13 | int64_t i, nsols; |
| 14 | long long stats[NISSY_SIZE_SOLVE_STATS]; | 14 | long long stats[NISSY_SIZE_SOLVE_STATS]; |
| 15 | char sol[SOL_BUFFER_LEN], cube[22]; | 15 | char sol[SOL_BUFFER_LEN], cube[NISSY_SIZE_CUBE]; |
| 16 | 16 | ||
| 17 | printf("Solved the following scrambles:\n\n"); | 17 | printf("Solved the following scrambles:\n\n"); |
| 18 | for (i = 0; i < N; i++) { | 18 | 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) { | |||
| 18 | int i; | 18 | int i; |
| 19 | int64_t n; | 19 | int64_t n; |
| 20 | long long stats[NISSY_SIZE_SOLVE_STATS]; | 20 | long long stats[NISSY_SIZE_SOLVE_STATS]; |
| 21 | char sol[SOL_BUFFER_LEN], cube[22]; | 21 | char sol[SOL_BUFFER_LEN], cube[NISSY_SIZE_CUBE]; |
| 22 | 22 | ||
| 23 | printf("Solved the following scrambles:\n\n"); | 23 | printf("Solved the following scrambles:\n\n"); |
| 24 | for (i = 0; scrambles[i] != NULL; i++) { | 24 | 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) { | |||
| 45 | int i; | 45 | int i; |
| 46 | int64_t n; | 46 | int64_t n; |
| 47 | long long stats[NISSY_SIZE_SOLVE_STATS]; | 47 | long long stats[NISSY_SIZE_SOLVE_STATS]; |
| 48 | char sol[SOL_BUFFER_LEN], cube[22]; | 48 | char sol[SOL_BUFFER_LEN], cube[NISSY_SIZE_CUBE]; |
| 49 | 49 | ||
| 50 | for (i = 0; s[i].scramble[0]; i++) { | 50 | for (i = 0; s[i].scramble[0]; i++) { |
| 51 | printf("\n%d. %s\n", i, s[i].scramble); | 51 | printf("\n%d. %s\n", i, s[i].scramble); |
