Problem | uniquenumbers |
---|---|
User | Hijackedsoul |
Submission Time | 2023-07-17 19:43:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:20:21: error: no matching function for call to ‘std::unordered_set<std::__cxx11::basic_string<char> >::insert(int&)’
20 | var.insert(x);
| ^
In file included from /usr/include/c++/9/unordered_set:47,
from uniquenumbers.cpp:9:
/usr/include/c++/9/bits/unordered_set.h:421:7: note: candidate: ‘std::pair<typename std::_Hashtable<_Value, _Value, _Alloc, std::__detail::_Identity, _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::__is_nothrow_invocable<const _Hash&, const _Tp&> > >::value, true, true> >::iterator, bool> std::unordered_set<_Value, _Hash, _Pred, _Alloc>::insert(const value_type&) [with _Value = std::__cxx11::basic_string<cha