Problem | milkweed |
---|---|
User | eliasxyz |
Submission Time | 2025-06-15 18:30:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
milkweed.cpp: In function ‘int main()’:
milkweed.cpp:20:6: error: class template argument deduction failed:
20 | set milkweed;
| ^~~~~~~~
milkweed.cpp:20:6: error: no matching function for call to ‘set()’
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from milkweed.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:
milkweed.cpp:20:6: note: candidate expects 4 arguments, 0 provided
20 | set milkweed;
|