Problem | identifyinggirlfriends |
---|---|
User | Hengweezy |
Submission Time | 2024-01-31 17:14:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
identifyinggirlfriends.cpp: In function ‘int main()’:
identifyinggirlfriends.cpp:7:16: error: class template argument deduction failed:
7 | unordered_map ftos;
| ^~~~
identifyinggirlfriends.cpp:7:16: error: no matching function for call to ‘unordered_map()’
In file included from /usr/include/c++/9/unordered_map:47,
from identifyinggirlfriends.cpp:2:
/usr/include/c++/9/bits/unordered_map.h:1152:5: note: candidate: ‘template<class _InputIterator, class _Hash, class _Pred, class _Allocator, class, class, class, class> std::unordered_map(_InputIterator, _InputIterator, std::unordered_map<int, int>::size_type, _Hash, _Pred, _Allocator)-> std::unordered_map<typename std::remove_const<typename std::iterator_traits<_Iterator>::value_type::first_type>::type, typename std::iterator_traits<_Iterator>::value_type::second_type, _Hash, _Pred, _Allocator>’
1152 | unordered_map(_InputIterator