From 109a7bab13e8d294da1ed9e4d5e4883b95296eb2 Mon Sep 17 00:00:00 2001 From: "yassin.elhakoun" <yassin.el-hakouni@etu.hesge.ch> Date: Thu, 9 Nov 2023 13:40:01 +0100 Subject: [PATCH] =?UTF-8?q?Update=20cours=5F7.md=20(ligne=20973=20et=20977?= =?UTF-8?q?=20deux=20";"=20=C3=A9taient=20manquants=20alors=20que=20pr?= =?UTF-8?q?=C3=A9sents=20dans=20le=20reste=20de=20l'algo)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- slides/cours_7.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/cours_7.md b/slides/cours_7.md index e88ed5d..cd0f6a7 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; } ``` -- GitLab