0_0_35195378_29451.cpp:14:14: error: wrong number of template arguments (1, should be 4)
multimap<PII>v;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:62:0,
from 0_0_35195378_29451.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multimap.h:95:11: error: provided for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::multimap'
class multimap
^
0_0_35195378_29451.cpp:14:16: error: invalid type in declaration before ';' token
multimap<PII>v;
^
0_0_35195378_29451.cpp: In function 'void add()':
0_0_35195378_29451.cpp:22:5: error: request for member 'insert' in 'v', which is of non-class type 'int'
v.insert({{k,cnt},x});
^
0_0_35195378_29451.cpp:23:19: error: request for member 'size' in 'v', which is of non-class type 'int'
printf("%d\n",v.size());
^
0_0_35195378_29451.cpp: In function 'void find()':
0_0_35195378_29451.cpp:29:18: error: wrong number of template arguments (1, should be 4)
for(multimap<PII>::iterator it = v.begin();it!=v.end();it++)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:62:0,
from 0_0_35195378_29451.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multimap.h:95:11: error: provided for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::multimap'
class multimap
^
0_0_35195378_29451.cpp:29:30: error: invalid type in declaration before 'it'
for(multimap<PII>::iterator it = v.begin();it!=v.end();it++)
^
0_0_35195378_29451.cpp:29:30: error: expected ';' before 'it'
0_0_35195378_29451.cpp:29:30: error: 'it' was not declared in this scope
0_0_35195378_29451.cpp:29:37: error: request for member 'begin' in 'v', which is of non-class type 'int'
for(multimap<PII>::iterator it = v.begin();it!=v.end();it++)
^
0_0_35195378_29451.cpp:29:51: error: request for member 'end' in 'v', which is of non-class type 'int'
for(multimap<PII>::iterator it = v.begin();it!=v.end();it++)
^
0_0_35195378_29451.cpp:29:56: error: expected ')' before ';' token
for(multimap<PII>::iterator it = v.begin();it!=v.end();it++)
^
0_0_35195378_29451.cpp:29:57: error: 'it' was not declared in this scope
for(multimap<PII>::iterator it = v.begin();it!=v.end();it++)
^
|