0_0_31800141_11024.cpp: In function 'double ClosestPair(int, int)':
0_0_31800141_11024.cpp:60:37: error: 'd' was not declared in this scope
if(fabs(point[mid].x-point[i].x)<=d) // 找出里 mid 距离d以内的点,保存在 tmpt 中
^
0_0_31800141_11024.cpp:68:59: error: 'd' was not declared in this scope
for(j=i+1;j<k&&j<i+6&&point[tmpt[j]].y-point[tmpt[i]].y<d;j++)
^
0_0_31800141_11024.cpp:75:9: error: 'd' was not declared in this scope
return d;
^
|