Created an additional printing method.
Stergios Upload Compile Checker / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
metallaxis committed 2026-07-05 05:59:57 +03:00
1 parent 49467332de
commit fa7aa240e1
4 files changed
+27 -9

No files matched your search

+3 -1
View File
@@ -13,6 +13,7 @@ void try_push_children(Node* curr);
/**
* @brief Runs a solver to find the minimum moves to reach a triplet with zero
* @param sum Pointer to store the sum of moves for the found solution
* @param gcd The GCD of the initial triplet
* @param a0 The initial value of a
* @param b0 The initial value of b
* @param c0 The initial value of c
@@ -20,6 +21,7 @@ void try_push_children(Node* curr);
* @param output The file pointer for output (can be NULL)
* @return 1 if a solution is found, 0 otherwise
*/
bool solve(int128_t* sum, int128_t a0, int128_t b0, int128_t c0, int print_mode, FILE* output);
bool solve(int128_t* sum, int128_t gcd,
int128_t a0, int128_t b0, int128_t c0, int print_mode, FILE* output);
#endif /* SOLVE_H */