diff --git a/slides/cours_17.md b/slides/cours_17.md index a2c6d9d3ea852da4ca6fba0319eb7261542504db..8c3d811e76e68794415cf68d32060144fa93246e 100644 --- a/slides/cours_17.md +++ b/slides/cours_17.md @@ -1235,9 +1235,9 @@ rien tamisage(tab, i) ```python entier ind_max(tab, i, g, d) ind_max = i - si tab[ind_max] < tab[g] && size(tab) > g + si g < size(tab) && tab[ind_max] < tab[g] ind_max = g - si tab[ind_max] < tab[d] && size(tab) > d + si d < size(tab) > d && tab[ind_max] < tab[d] ind_max = d retourne ind_max