0_0_29294629_15680.cpp:24:2: error: 'db' does not name a type
db x,y;
^
0_0_29294629_15680.cpp: In member function 'bool Pair::operator<(const Pair&) const':
0_0_29294629_15680.cpp:26:10: error: 'x' was not declared in this scope
return x<oth.x||(x==oth.x&&y<oth.y);
^
0_0_29294629_15680.cpp:26:16: error: 'const struct Pair' has no member named 'x'
return x<oth.x||(x==oth.x&&y<oth.y);
^
0_0_29294629_15680.cpp:26:27: error: 'const struct Pair' has no member named 'x'
return x<oth.x||(x==oth.x&&y<oth.y);
^
0_0_29294629_15680.cpp:26:30: error: 'y' was not declared in this scope
return x<oth.x||(x==oth.x&&y<oth.y);
^
0_0_29294629_15680.cpp:26:36: error: 'const struct Pair' has no member named 'y'
return x<oth.x||(x==oth.x&&y<oth.y);
^
0_0_29294629_15680.cpp: In function 'double findd(Pair, Pair)':
0_0_29294629_15680.cpp:34:17: error: 'struct Pair' has no member named 'x'
return sqrt((x.x-y.x)*(x.x-y.x)+(x.y-y.y)*(x.y-y.y));
^
0_0_29294629_15680.cpp:34:21: error: 'struct Pair' has no member named 'x'
return sqrt((x.x-y.x)*(x.x-y.x)+(x.y-y.y)*(x.y-y.y));
^
0_0_29294629_15680.cpp:34:27: error: 'struct Pair' has no member named 'x'
return sqrt((x.x-y.x)*(x.x-y.x)+(x.y-y.y)*(x.y-y.y));
^
0_0_29294629_15680.cpp:34:31: error: 'struct Pair' has no member named 'x'
return sqrt((x.x-y.x)*(x.x-y.x)+(x.y-y.y)*(x.y-y.y));
^
0_0_29294629_15680.cpp:34:37: error: 'struct Pair' has no member named 'y'
return sqrt((x.x-y.x)*(x.x-y.x)+(x.y-y.y)*(x.y-y.y));
^
0_0_29294629_15680.cpp:34:41: error: 'struct Pair' has no member named 'y'
return sqrt((x.x-y.x)*(x.x-y.x)+(x.y-y.y)*(x.y-y.y));
^
0_0_29294629_15680.cpp:34:47: error: 'struct Pair' has no member named 'y'
return sqrt((x.x-y.x)*(x.x-y.x)+(x.y-y.y)*(x.y-y.y));
^
0_0_29294629_15680.cpp:34:51: error: 'struct Pair' has no member named 'y'
return sqrt((x.x-y.x)*(x.x-y.x)+(x.y-y.y)*(x.y-y.y));
^
0_0_29294629_15680.cpp: In function 'double slv(int, int)':
0_0_29294629_15680.cpp:41:34: error: 'struct Pair' has no member named 'x'
double d=min(d1,d2),dmid=a[mid].x;
^
0_0_29294629_15680.cpp:44:16: error: 'struct Pair' has no member named 'x'
if(fabs(a[i].x-dmid)<d) q1.push_back(i);
^
0_0_29294629_15680.cpp:47:16: error: 'struct Pair' has no member named 'x'
if(fabs(a[i].x-dmid)<d) q2.push_back(i);
^
0_0_29294629_15680.cpp: In function 'int main()':
0_0_29294629_15680.cpp:66:25: error: 'struct Pair' has no member named 'x'
scanf("%lf%lf",&a[i].x,&a[i].y);
^
0_0_29294629_15680.cpp:66:33: error: 'struct Pair' has no member named 'y'
scanf("%lf%lf",&a[i].x,&a[i].y);
^
|