-#include<cstdio>
+#include <cstdio>
 
 #define EMPTY 0
 #define WHITE 1

__device__
    int calculate_board_value(int * Board){
	    int value;
    	value=calculate_pawns_value(Board);
    	value=100*value+calculate_dist_to_be_queen(Board);
    	value=100*value+calculate_future_queen_kills(Board);
    	value=10*value+(std::rand()%10);
    	return value;
} 


                temp_row = row-1;
                temp_col = col+1;
                while(temp_row >= 1 && temp_col <= n-2){
                    if(is_a_pawn(tab,temp_row,temp_col)){
                        if(pawn_owner(tab,row,col) == pawn_owner(tab,temp_row,temp_col))
                            break;
                        else if(is_a_pawn(tab,temp_row-1,temp_col+1))
                            break;
                        else{
                            kill_tab[temp_row*n+temp_col] = pawn_owner(tab,temp_row,temp_col);
                            temp_row--;
                            temp_col++;
                        }
