double MO(double* ver1, double* ver2) { double profit = 0.0; double profit_temp = 0.0; for (int k=0; k<8; k++) { profit_temp = 0.0; for (int l=0; l<8; l++) { if(lk) profit_temp = profit_temp - ver2[l]; } profit_temp = profit_temp * ver1[k]; profit = profit + profit_temp; } return profit/100.0; //a i?ioaioao }