Problem | subgraphs |
---|---|
User | ForgottenDragon |
Submission Time | 2025-07-23 16:05:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:30:23: error: class template argument deduction failed:
30 | unordered_set bb;
| ^~
subgraphs.cpp:30:23: error: no matching function for call to ‘unordered_set()’
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 subgraphs.cpp:1:
/usr/include/c++/9/bits/unordered_set.h:833:5: note: candidate: ‘template<class _InputIterator, class _Hash, class _Pred, class _Allocator, class, class, class, class> std::unordered_set(_InputIterator, _InputIterator, std::unordered_set<int>::size_type, _Hash, _Pred, _Allocator)-> std::unordered_set<typename std::iterator_traits<_Iter>::value_type, _Hash, _Pred, _Allocator>’
833 | unordered_set(_InputIterator, _InputIterator,
| ^~~~~~~~~~~~~
/usr/include/c++/9/bits/unordered_set.h:833:5