0_0_39398615_12453.cpp:11:1: error: 'vector' does not name a type
11 | vector<PII> ps;
| ^~~~~~
0_0_39398615_12453.cpp: In function 'double merge(int, int)':
0_0_39398615_12453.cpp:25:5: error: 'vector' was not declared in this scope
25 | vector<PII> vec;
| ^~~~~~
0_0_39398615_12453.cpp:5:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
4 | #include <cmath>
+++ |+#include <vector>
5 |
0_0_39398615_12453.cpp:25:15: error: expected primary-expression before '>' token
25 | vector<PII> vec;
| ^
0_0_39398615_12453.cpp:25:17: error: 'vec' was not declared in this scope
25 | vector<PII> vec;
| ^~~
0_0_39398615_12453.cpp:27:17: error: 'ps' was not declared in this scope
27 | if(fabs(ps[mid].first - ps[i].first) <= d) {
| ^~
0_0_39398615_12453.cpp: In function 'int main()':
0_0_39398615_12453.cpp:45:9: error: 'ps' was not declared in this scope
45 | ps.clear();
| ^~
|