0_0_34018042_28900.cpp: In function 'double findClosestPair(int, int)':
0_0_34018042_28900.cpp:82:31: error: 'a' was not declared in this scope
if(l + 1 == r) return dis(a[l],a[r]);
^
0_0_34018042_28900.cpp:82:40: error: 'dis' was not declared in this scope
if(l + 1 == r) return dis(a[l],a[r]);
^
0_0_34018042_28900.cpp:86:5: error: 'lp' was not declared in this scope
lp.clear(); rp.clear();
^
0_0_34018042_28900.cpp:86:17: error: 'rp' was not declared in this scope
lp.clear(); rp.clear();
^
0_0_34018042_28900.cpp:89:17: error: 'a' was not declared in this scope
if(fabs(a[i].x - a[mid].x) < d1)
^
0_0_34018042_28900.cpp:93:17: error: 'a' was not declared in this scope
if(fabs(a[i].x - a[mid].x) < d1)
^
0_0_34018042_28900.cpp:102:73: error: 'dis' was not declared in this scope
if(fabs(lp[i].y - rp[j].y) < d1) d1 = min(d1,dis(lp[i],rp[j]));
^
0_0_34018042_28900.cpp: In function 'int main()':
0_0_34018042_28900.cpp:118:40: error: 'getRadius' was not declared in this scope
double ret = getRadius(0, N - 1);
^
|