| Problem | uniquenumbers |
|---|---|
| User | TheFelixKS |
| Submission Time | 2026-06-28 12:00:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:16:18: error: no matching function for call to ‘std::unordered_set<long long int>::count()’
16 | cout << s.count();
| ^
In file included from /usr/include/c++/9/unordered_set:47,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:118,
from uniquenumbers.cpp:1:
/usr/include/c++/9/bits/unordered_set.h:668:7: note: candidate: ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type std::unordered_set<_Value, _Hash, _Pred, _Alloc>::count(const key_type&) const [with _Value = long long int; _Hash = std::hash<long long int>; _Pred = std::equal_to<long long int>; _Alloc = std::allocator<long long int>; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_type = long long int]’
668 | count(const key