Problem | uniquenumbers |
---|---|
User | andthatsallshewrote |
Submission Time | 2023-11-15 10:35:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:11:6: error: class template argument deduction failed:
11 | set s;
| ^
uniquenumbers.cpp:11:6: error: no matching function for call to ‘set()’
In file included from /usr/include/c++/9/set:61,
from uniquenumbers.cpp:2:
/usr/include/c++/9/bits/stl_set.h:939:5: note: candidate: ‘template<class _InputIterator, class _Compare, class _Allocator, class, class, class> std::set(_InputIterator, _InputIterator, _Compare, _Allocator)-> std::set<typename std::iterator_traits<_Iter>::value_type, _Compare, _Allocator>’
939 | set(_InputIterator, _InputIterator,
| ^~~
/usr/include/c++/9/bits/stl_set.h:939:5: note: template argument deduction/substitution failed:
uniquenumbers.cpp:11:6: note: candidate expects 4 arguments, 0 provided
11 | set s;
| ^
In file included from /usr/include/c++/9/set:61,