0_0_25274958_30080.cpp: In function 'int query(int, int, int)':
0_0_25274958_30080.cpp:39:23: error: no matching function for call to 'std::map<int, int>::find()'
else if(cnt[i].find()!=cnt[i].end())ans+=cnt[i][z];
^
0_0_25274958_30080.cpp:39:23: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from 0_0_25274958_30080.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:859:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) [with _Key = int; _Tp = int; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, int> >; std::map<_Key, _Tp, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator<std::pair<const int, int> >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = int]
find(const key_type& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:859:7: note: candidate expects 1 argument, 0 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:874:7: note: std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator std::map<_Key, _Tp, _Compare, _Alloc>::find(const key_type&) const [with _Key = int; _Tp = int; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, int> >; std::map<_Key, _Tp, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator<std::pair<const int, int> >; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = int]
find(const key_type& __x) const
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:874:7: note: candidate expects 1 argument, 0 provided
|