| Problem | uniquenumbers |
|---|---|
| User | Jonnu |
| Submission Time | 2026-04-20 10:26:41 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:14:17: error: no matching function for call to ‘std::unordered_set<int>::insert(std::string&)’
14 | st.insert(temp);
| ^
In file included from /usr/include/c++/9/unordered_set:47,
from uniquenumbers.cpp:1:
/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 = int; _Hash = std::hash<int>; _Pred = std::equal_to<int>;