0_0_36307772_24988.cpp: In function 'int main()':
0_0_36307772_24988.cpp:30:48: error: no match for 'operator=' (operand types are 'std::unordered_map<long long int, std::vector<long long int> >' and 'std::map<long long int, std::vector<long long int> >')
for (int i = 1; i <= 30; i++)mp[i] = map<ll, vector<ll> >();
^
0_0_36307772_24988.cpp:30:48: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/unordered_map:48:0,
from 0_0_36307772_24988.cpp:14:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:224:7: note: std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(const std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&) [with _Key = long long int; _Tp = std::vector<long long int>; _Hash = std::hash<long long int>; _Pred = std::equal_to<long long int>; _Alloc = std::allocator<std::pair<const long long int, std::vector<long long int> > >]
operator=(const unordered_map&) = default;
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:224:7: note: no known conversion for argument 1 from 'std::map<long long int, std::vector<long long int> >' to 'const std::unordered_map<long long int, std::vector<long long int> >&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:228:7: note: std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&&) [with _Key = long long int; _Tp = std::vector<long long int>; _Hash = std::hash<long long int>; _Pred = std::equal_to<long long int>; _Alloc = std::allocator<std::pair<const long long int, std::vector<long long int> > >]
operator=(unordered_map&&) = default;
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:228:7: note: no known conversion for argument 1 from 'std::map<long long int, std::vector<long long int> >' to 'std::unordered_map<long long int, std::vector<long long int> >&&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:242:7: note: std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(std::initializer_list<typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, true> >::value_type>) [with _Key = long long int; _Tp = std::vector<long long int>; _Hash = std::hash<long long int>; _Pred = std::equal_to<long long int>; _Alloc = std::allocator<std::pair<const long long int, std::vector<long long int> > >; typename std::_Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, std::__detail::_Select1st, _Pred, _Hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<std::__not_<std::__and_<std::__is_fast_hash<_Hash>, std::__detail::__is_noexcept_hash<_Key, _Hash> > >::value, false, true> >::value_type = std::pair<const long long int, std::vector<long long int> >]
operator=(initializer_list<value_type> __l)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:242:7: note: no known conversion for argument 1 from 'std::map<long long int, std::vector<long long int> >' to 'std::initializer_list<std::pair<const long long int, std::vector<long long int> > >'
|