#include "stdio.h" #include #include #include #include #include int main(int argc, char **argv) { int N; int nb_thread; double start; double end; // Prise en compte des arguments if (argc == 3){ N = atoi(argv[1]); nb_thread = atoi(argv[2]); printf("Nb thread max %d\n", nb_thread); printf("N %d\n", N); } else { printf("Missing parameters\n\r"); return EXIT_FAILURE; } srand(time(NULL)); double x[N], y[N]; for(int i=0; i