circle_selection.cpp:4:9: error: 'point' does not name a type
4 | typedef point pair<double,double>
| ^~~~~
circle_selection.cpp:13:3: error: 'cir' does not name a type
13 | } cir[5050];
| ^~~
circle_selection.cpp:17:13: error: 'point' was not declared in this scope
17 | double dis (point i, point j) {
| ^~~~~
circle_selection.cpp:17:22: error: 'point' was not declared in this scope
17 | double dis (point i, point j) {
| ^~~~~
circle_selection.cpp:17:29: error: expression list treated as compound expression in initializer [-fpermissive]
17 | double dis (point i, point j) {
| ^
circle_selection.cpp:22:17: error: 'A' was not declared in this scope
22 | bool intersect (A i, A j) {
| ^
circle_selection.cpp:22:22: error: 'A' was not declared in this scope
22 | bool intersect (A i, A j) {
| ^
circle_selection.cpp:22:25: error: expression list treated as compound expression in initializer [-fpermissive]
22 | bool intersect (A i, A j) {
| ^
circle_selection.cpp: In function 'int main()':
circle_selection.cpp:32:5: error: 'cir' was not declared in this scope
32 | cir[i] = {x, y, r, i};
| ^~~
circle_selection.cpp:34:8: error: 'cir' was not declared in this scope
34 | sort(cir+1, cir+1+n);
| ^~~
circle_selection.cpp:43:35: error: 'intersect' cannot be used as a function
43 | if (intersect(cir[i], cir[j])) {
| ^