Difficulty: ⭐⭐⭐⭐ (Medium/Hard for Week 1) Time: 4 hours Type: Shell & C (No internet, no peers, no copy/paste)
If your code has a Norm error (e.g., an extra empty line), Renderium rejects it instantly. You get a 0 for that exercise. You cannot bypass this. That is the "exclusive" difficulty. exam 01 piscine 42 exclusive
If you forget to git push, you get 0. Even if your code is perfect. grademe reads from the remote repo, not your local disk. 🎯 Exam 01 Review: The "Reality Check" (Piscine
| Exercise | Why people fail | Solution |
|----------|----------------|----------|
| ft_putchar | Forgetting write(1, &c, 1) | Never use printf |
| ft_putnbr | Edge cases: -2147483648 | Handle min int separately |
| ft_print_combn | Recursion/logic error | Use backtracking, not nested loops |
| aff_a | No arguments case | If argc < 2, print newline only |
| Norminette | Missing newline at EOF | Always add \n at file end | write → #include <unistd
Trap: max - min vs max - min + 1. If min=0, max=3 → numbers: 0,1,2. That's 3 numbers. max - min = 3. Correct.
write → #include <unistd.h>malloc / free → #include <stdlib.h>open / close / read → #include <fcntl.h> + #include <unistd.h>ft_countdownTask: Print numbers from 9 down to 0.