A collection of (almost) all the code generated during the March 2018 Piscine.
Final result: Accepted into 42 Silicon Valley
The final grade for each exercise will be given by the following: , where, if not clear enough, MGrade will be the grade given by Moulinette, and AVGrade will be the average of grades given by your peers (who corrected your exercises), but only if these two grades differ by a sufficiently large margin.
For example, if Moulinette grades you 10, and the average grade you get from your peer revisions is 90, then your final grade will be 10 (note that the other way is also true). Another example is if Moulinette gives you a final grade of 50 and your peer revision average is 57, then your final grade will be 57, so the margin of difference for the minimum grade equation above is suspected to be 10 points.
Here I present my final level and grades. For the latter, I won't specify what was caused by Moulinette and which were due to the peer evaluations:
For the exercises when starting to code in C, I advise you to use 42 Stupidity. The instructions are quite straightforward, but I will repost them here:
-
Git clone the 42 Stupidity repository, then clone inside of it the work repository you wish to check.
-
Run
./spawn.pl name_of_cloned_repo_to_check config_<day>.pl
(change the day to that of the repository you are checking). -
Run
./tools/build.sh
(this will build the correspondingmain.c
for each function). -
Run
./tools/verify.sh
(this will runNorminette
with the appropiate flags). -
Run
./tools/check_all.sh
(this will perform some tests on each function).
Or, far simpler, use Towel, which will do all these things automatically for you.
If all goes well, either method should display good!
next to each exercise.AV
Finally, if this is your first time coding in general, then the mechanisms that are happening behind the scenes might seem too abstract at the beginning. For this I advise you to use the C Tutor, where you can visualize each step the computer takes as it executes your code.
Good luck, have fun, and don't drown!
This work is published under the the terms of 42 Unlicense.