Nicolas George
Page principale
Plan du site
Documents
2015–2016, spécialité ISN
Documents
Documents
t = [ 26723, 31055, 24780, 5591, 5341, 4491, 2753, 12307, 31010, 12500, 15840, 28730, 31183, 25876, 13183, 32371, 24006, 30547, 14881, 8281, 8108, 28424, 16824, 8107, 18060, 31159, 14703, 31090, 31939, 14456, ]; for (i = 0; i < t.length, i++) { m = t[i]; im = i; for (j = i + 1; j < t.length - 1; j++) { if (t[j] < m) { m = t[j]; im = j; } } t[im] = t[i]; t[i] = m; }