Added a way to print out instead of stdout but to a file (everything about the process but errors (those still go to stderr) and made it so now someone can actually use echo -e "" | ./bin/stergios (prior this was impossible to do due to readline quirks)
Stergios Upload Compile Checker / Explore-Gitea-Actions (push) Successful in 7s

This commit is contained in:
metallaxis committed 2026-07-05 05:31:32 +03:00
1 parent 030b73597f
commit 49467332de
10 files changed
+191 -63

No files matched your search

+2 -1
View File
@@ -17,8 +17,9 @@ void try_push_children(Node* curr);
* @param b0 The initial value of b
* @param c0 The initial value of c
* @param print_mode The mode for printing the results (1 for full, 2 for minimal)
* @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);
bool solve(int128_t* sum, int128_t a0, int128_t b0, int128_t c0, int print_mode, FILE* output);
#endif /* SOLVE_H */