Exam 01 Piscine 42 May 2026

The Rite of Passage

  1. No main function allowed. The grader provides its own main. You only submit the function implementation.
  2. Norminette is king. The 42 coding standard (Norminette) is enforced even during exams. Forgetting a newline at the end of the file, using for loops with declarations inside (normally forbidden in older 42 standards), or having more than 25 lines will cause a 0 for that exercise.
  3. File naming is absolute. If the subject asks for ft_strcpy.c, naming it ft_strcpy (no .c) or ft_strcpy1.c will result in an automatic failure.
  4. The Moulinette is unforgiving. It does not care about partial credit. If your function segfaults on one edge case (e.g., empty string), you get 0 for that exercise.

Typically, the exam is split into "Questions" (usually 5 exercises).

While the exact questions are randomized, Exam 01 typically covers concepts from C00 to C01 (and sometimes C02/C06 depending on your pace): Exam 01 Piscine 42

: There is no partial credit. If your code has a single extra space in the output or a minor memory leak, the Moulinette gives you a 0 for that exercise. This forces a mindset shift from "it mostly works" to "it is technically perfect." Psychological Barrier The Rite of Passage