My solutions for C exercice we did at EPITA (2nd year).