This is a challenge based on the EPITECH Pool, inspired by its 2018 C version.
All the exercises are verified through Makefile compilation (make
).
Pass all the Criterion tests to succeed on each exercise.
You may open an issue if a Criterion script doesn't seem to be working properly.
The final Makefile, located in /
, executes (and if they all pass, verifies) all the exercises at once.
- A gcc(>= 4.9+) compiler
- make
- Criterion (optional, for faster testing)
- Valgrind (optional, for memory checks)
- Ruby (optional, for norm checks)
- gcovr (optional, for coverage checks)
- A text editor (Vim, Emacs, VSCode, etc.)
- A terminal (Bash, Zsh, etc.)
- A brain (optional)
A static Criterion 2.4.2 install is located in /criterion/
.
Please open an issue if it results in the impossibility to compile/run the tests.
Criterion tests for each exercise are run with the command make run
.
The 30 exercises are located in /exercises/
, ready to code with (fake) headers and expectations are listed as comments.
The exercises are to be completed with most library functions prohibited; specification are listed above each prototype.
Needed includes are already in the headers. You may open an issue if some of them are missing.
You may note that some exercises depend on some others, so you may want to do them in order.
Not gonna lie, using Copilot to generate the code is cheating. It pretty much defeats the purpose of the challenge in one TAB hit.
Feel free to turn this into a speedrun, using tools like LiveSplit.
You may notice that the exercises are not all equal in difficulty, so you may want to practice them individually before attempting a full run.
Find more tips and recommendations here.