 
   // Sailors and monkeys
   unsigned int monkeys = 1;
-  unsigned int max_sailors = 5;
+  unsigned int max_sailors = 9;
 
   // CPU memory pointers
   unsigned long long int *h_coc, da_solu=1;

    return 0;
  }

    // Error was here, before we had INT_MAX which is too low for >9 sailors
  first = second = UINT_MAX;
  for (i = 0; i < arr_size ; i ++)
  {

  h_tot = (unsigned int *)malloc(SIZE*sizeof(unsigned int));
  
  // Choose to run on secondary GPU
  //cudaSetDevice(1);

  // Allocate the space, GPU
  cudaMalloc(&d_coc, SIZE*sizeof(unsigned long long int));
