#include "stdio.h" #include #include #include #include #include int main(int argc, char **argv) { int N; int nb_thread; double start; double end; 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 = 0; for(int i=0; i