mp2i-info/td5/exo1.c
2026-01-12 14:09:38 +01:00

11 lines
194 B
C

#include "stdio.h"
#include "stdlib.h"
void intertion_sort(int t[], int n) {
for (int i = 1; i < n; i++) {
int j = 0;
while (j < i && t[j] <= t[i])
j++;
}
}