diff --git a/slides/cours_7.md b/slides/cours_7.md index e88ed5daa15f15e777451c9671ca4db67358931e..cd0f6a7c164bf7ba8af3f3cb0fd088cb043f6e96 100644 --- a/slides/cours_7.md +++ b/slides/cours_7.md @@ -970,11 +970,11 @@ $$ ## Complexité du tri par sélection? ```C -int ind = 0 +int ind = 0; while (ind < SIZE-1) { min = find_min(tab[ind:SIZE]); swap(min, tab[ind]); - ind += 1 + ind += 1; } ```