| Problem | subgraphs |
|---|---|
| User | R9q5P8 |
| Submission Time | 2025-11-28 20:03:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:9:2: error: ‘unordered_set’ was not declared in this scope
9 | unordered_set<unordered_set<int>> sgs;
| ^~~~~~~~~~~~~
subgraphs.cpp:3:1: note: ‘std::unordered_set’ is defined in header ‘<unordered_set>’; did you forget to ‘#include <unordered_set>’?
2 | #include <set>
+++ |+#include <unordered_set>
3 | using namespace std;
subgraphs.cpp:9:30: error: expected primary-expression before ‘int’
9 | unordered_set<unordered_set<int>> sgs;
| ^~~
subgraphs.cpp:14:18: error: ‘sgs’ was not declared in this scope
14 | for (auto &t : sgs)
| ^~~
subgraphs.cpp:21:10: error: ‘sgs’ was not declared in this scope
21 | cout << sgs.size();
| ^~~