#include <stdio.h>
+#include <stdlib.h>
void permuter(int T[], int i1, int i2) {
int tmp = T[i1];
void TriRapide(int T[], int n) {
// The optimal pivot choice is the median value in the tab
- int pivot = T[0];
+ int index_pivot = arc4random_uniform(n);
+ int pivot = T[index_pivot];
int TP[n];
int TG[n];
int np = 0;