input/code.cpp: In function 'int main()':
input/code.cpp:20:9: error: wrong number of template arguments (1, should be 4)
map<pii> lol;
^
In file included from /usr/include/c++/4.9/map:61:0,
from /usr/include/x86_64-linux-gnu/c++/4.9/bits/stdc++.h:80,
from input/code.cpp:1:
/usr/include/c++/4.9/bits/stl_map.h:96:11: error: provided for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^
input/code.cpp:20:14: error: invalid type in declaration before ';' token
map<pii> lol;
^
input/code.cpp:23:7: error: request for member 'insert' in 'lol', which is of non-class type 'int'
lol.insert({x, y});
^
input/code.cpp:26:9: error: request for member 'size' in 'lol', which is of non-class type 'int'
if(lol.size() > 2){
^