metallaxis 7e0d8166d1
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 38s
Updating demo for another test.
2026-07-04 01:43:15 +03:00

Stergios - A Math Problem

Cloning

git clone https://gitea.metallaxis.net/metallaxis/stergios.git

Compiling

After cloning the repository run the following command:

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

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):

nix develop .

Contributing

Sources

Stergios Information

S
Description
Attempting to solve the stergios problem from progintro.github.io (The bonus exercise)
Readme
981 KiB
0 Stars 0 Watchers 0 Forks
Languages
C 87.4%
Makefile 10.5%
Nix 1.2%
Shell 0.9%