circle_selection.cpp:58:22: error: 'list' was not declared in this scope
58 | unordered_map<point, list<int>, point_hash> mp;
| ^~~~
circle_selection.cpp:3:1: note: 'std::list' is defined in header '<list>'; did you forget to '#include <list>'?
2 | #include <algorithm>
+++ |+#include <list>
3 | #include <unordered_map>
circle_selection.cpp:58:30: error: template argument 2 is invalid
58 | unordered_map<point, list<int>, point_hash> mp;
| ^
circle_selection.cpp:58:30: error: template argument 5 is invalid
circle_selection.cpp:58:31: error: expected unqualified-id before ',' token
58 | unordered_map<point, list<int>, point_hash> mp;
| ^
circle_selection.cpp:58:43: error: expected initializer before '>' token
58 | unordered_map<point, list<int>, point_hash> mp;
| ^
circle_selection.cpp: In function 'void build(int)':
circle_selection.cpp:63:5: error: 'mp' was not declared in this scope; did you mean 'cmp'?
63 | mp.clear();
| ^~
| cmp
circle_selection.cpp: In function 'int main()':
circle_selection.cpp:93:22: error: 'mp' was not declared in this scope; did you mean 'cmp'?
93 | if (!mp.count(pt))
| ^~
| cmp
circle_selection.cpp:95:17: error: 'list' was not declared in this scope
95 | list<int>& it = mp[pt];
| ^~~~
circle_selection.cpp:95:17: note: 'std::list' is defined in header '<list>'; did you forget to '#include <list>'?
circle_selection.cpp:95:22: error: expected primary-expression before 'int'
95 | list<int>& it = mp[pt];
| ^~~
circle_selection.cpp:96:27: error: expected primary-expression before 'int'
96 | for (list<int>::iterator itt = it.begin(); itt != it.end(); )
| ^~~
circle_selection.cpp:96:60: error: 'itt' was not declared in this scope; did you mean 'int'?
96 | for (list<int>::iterator itt = it.begin(); itt != it.end(); )
| ^~~
| int
circle_selection.cpp:96:67: error: 'it' was not declared in this scope; did you mean 'pt'?
96 | for (list<int>::iterator itt = it.begin(); itt != it.end(); )
| ^~
| pt