#include unsigned *creer_vecteur(unsigned n) { unsigned *p, i; p = malloc(n * sizeof(unsigned)); if (!p) return NULL; for (i = 1; i <= n; i++) p[i] = i; return p; }