a19e88e3a0
Updated the gitea action to actually work.
metallaxis2026-07-09 03:06:18 +03:00
8fe6a6aa17
Minor Changes. Plus found a solution for this mathematically online.
metallaxis2026-07-09 02:49:29 +03:00
984415eb38
Making a smallchange, to make it print in the end as the initial values the actual ones (not the ones divided by the gcd)
metallaxis2026-07-05 12:52:40 +03:00
2db7e27f60
Changed the HASH_SIZE (it dropped the required time for p = 7 from 105 seconds to 32 seconds). Then changed the LIMIT and it dropped to 19 seconds.
metallaxis2026-07-05 11:55:30 +03:00
067e9bd7fc
Fixed the no output when given a pair that cannot be computed. Also added more debug information.
metallaxis2026-07-05 06:52:11 +03:00
fa7aa240e1
Created an additional printing method.
metallaxis2026-07-05 05:59:57 +03:00
49467332de
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)
metallaxis2026-07-05 05:31:32 +03:00
030b73597f
Complete rework of the queueing system. Adding some more helper functions in maths.c. FInally, adding valgrind (a debugger) in the nix flaes file.
metallaxis2026-07-05 02:15:26 +03:00
c751db5998
Testing gitea thing 2. (Removed the first idea now will try Greedy before BFS)
metallaxis2026-07-04 01:40:15 +03:00
b6063efb90
Adding a possible useful strategy for the feature (not used in this version). But Mostly testing gitea actions.
metallaxis2026-07-04 01:08:39 +03:00
1b62ea6e67
Reorganizing the code to make more sense.
metallaxis2026-07-03 13:52:38 +03:00
5145874485
Renaming bfs to solver. Adding fclose so the file doesn't remain open after use. Finally creating min2 and min3 functions.
metallaxis2026-07-03 13:43:06 +03:00
7decb09e2f
Fixed a major issue in the stergios.c where LIMIT was int32_t instead of int128_t and also implented a version where a user can run the stergios step counter from a file (example format being in the example file).
metallaxis2026-06-28 00:03:49 +03:00
9d7b7016d2
Updated a comment (testing something)
metallaxis2026-05-31 16:09:41 +03:00
e3239bf564
Attempted to separate the snippets of code to small functions and each set of functions have its own file. Also made some improvements by using pools instead of constantly mallocing space.
metallaxis2026-05-07 02:00:15 +03:00
00396f86fe
Making it faster by using a max_node pool instead of having it malloc each time.
metallaxis2026-05-07 00:20:55 +03:00
7e215dc877
Made an improvement for storing a global table for possible duplicate numbers (after dividing by gcd)
metallaxis2026-05-06 23:47:55 +03:00
51881687f5
(Added the GCD improvement to mode 1 too.
metallaxis2026-05-06 22:42:04 +03:00
9f1f152c4f
Made a small change to divide by the GCD. Has major time improvements.
metallaxis2026-05-06 22:39:51 +03:00
381896c84f
Uploading my current work to my personal gitea
metallaxis2026-05-06 22:21:57 +03:00