Problem subgraphs
User R9q5P8
Submission Time 2025-11-28 20:03:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:9:36: error: use of deleted function ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = std::unordered_set<int>; _Hash = std::hash<std::unordered_set<int> >; _Pred = std::equal_to<std::unordered_set<int> >; _Alloc = std::allocator<std::unordered_set<int> >]’
9 | unordered_set<unordered_set<int>> sgs;
| ^~~
In file included from /usr/include/c++/9/unordered_set:47,
from subgraphs.cpp:2:
/usr/include/c++/9/bits/unordered_set.h:135:7: note: ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set() [with _Value = std::unordered_set<int>; _Hash = std::hash<std::unordered_set<int> >; _Pred = std::equal_to<std::unordered_set<int> >; _Alloc = std::allocator<std::unordered_set<int> >]’ is implicitly deleted because