0_0_25642775_27585.cpp: In function 'bool cmpx(point, point)':
0_0_25642775_27585.cpp:20:2: error: 'retunr' was not declared in this scope
retunr a.x == b.x? a.y < b.y: a.x < b.x;
^
0_0_25642775_27585.cpp: In function 'bool cmpx(point, point)':
0_0_25642775_27585.cpp:23:6: error: redefinition of 'bool cmpx(point, point)'
bool cmpx(point a, point b)
^
0_0_25642775_27585.cpp:18:6: note: 'bool cmpx(point, point)' previously defined here
bool cmpx(point a, point b)
^
0_0_25642775_27585.cpp:25:2: error: 'retunr' was not declared in this scope
retunr a.y == b.y? a.x < b.x: a.y < b.y;
^
0_0_25642775_27585.cpp: In function 'double dis(point, point)':
0_0_25642775_27585.cpp:30:50: error: expected ')' before ';' token
return sqrt(pow(a.x - b.x , 2)+pow(a.y - b.y, 2);
^
0_0_25642775_27585.cpp: In function 'double solver(int, int)':
0_0_25642775_27585.cpp:49:29: error: 'cmpy' was not declared in this scope
sotr(rp.begin(), rp.end(), cmpy);
^
0_0_25642775_27585.cpp:49:33: error: 'sotr' was not declared in this scope
sotr(rp.begin(), rp.end(), cmpy);
^
0_0_25642775_27585.cpp:53:28: error: 'fasb' was not declared in this scope
if(fasb(rp[j].y - lp[i].y) < d) d = min(dis(rp[j], lp[i]), d);
^
0_0_25642775_27585.cpp:61:1: error: a function-definition is not allowed here before '{' token
{
^
0_0_25642775_27585.cpp:74:1: error: expected '}' at end of input
}
^
|