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).
This commit is contained in:
31 files changed
+65368
-15
No files matched your search
@@ -0,0 +1,33 @@
|
||||
# Stergios - A Math Problem
|
||||
|
||||
## Cloning
|
||||
```sh
|
||||
git clone https://gitea.metallaxis.net/metallaxis/stergios.git
|
||||
```
|
||||
|
||||
## Compiling
|
||||
After cloning the repository run the following command:
|
||||
```sh
|
||||
make help (For the help menu)
|
||||
make (Will compile for the OS you are on (works only for windows and linux))
|
||||
make build linux/windows
|
||||
make debug linux/windows (Compile with debug flags in the c code)
|
||||
make --debug linux/windows (Compile with Makefile debug information)
|
||||
```
|
||||
|
||||
## Running
|
||||
```sh
|
||||
make && ./bin/stergios (Normal version)
|
||||
make && echo -e "2\n2\n" | time ./bin/stergios (Run the version for the expontial being 7 and low info printing and time the amount of time it takes to execute)
|
||||
```
|
||||
|
||||
## Nix Flakes
|
||||
For anyone using nix flakes to enter the developemnt environment with everything required run (while on the main folder):
|
||||
```sh
|
||||
nix develop .
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
## Sources
|
||||
[Stergios Information](https://progintro.github.io/assets/pdf/stergios.pdf)
|
||||
Reference in new issue
Block a user