Trouver un algorithme pour mon problème

Version imprimable