0_0_15056161_25296.cpp: In function 'int main()':
0_0_15056161_25296.cpp:52:70: error: no matching function for call to 'std::map<int, int>::clear(int&)'
if(m[last] == 0) m.clear(last);
^
0_0_15056161_25296.cpp:52:70: note: candidate is:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_15056161_25296.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:826:7: note: void std::map<_Key, _Tp, _Compare, _Alloc>::clear() [with _Key = int; _Tp = int; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, int> >]
clear() _GLIBCXX_NOEXCEPT
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:826:7: note: candidate expects 0 arguments, 1 provided
|