Problem | subgraphs |
---|---|
User | r1r2r3r4 |
Submission Time | 2025-07-23 16:06:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:27:21: error: cannot convert ‘std::unordered_set<bool>::empty’ from type ‘bool (std::unordered_set<bool>::)() const noexcept’ to type ‘bool’
27 | while (!stopper.empty) {
| ^~~~~
subgraphs.cpp:27:21: error: in argument to unary !
subgraphs.cpp:34:43: error: ‘class std::unordered_set<bool>’ has no member named ‘rbegin’; did you mean ‘begin’?
34 | stopper.erase(stopper.rbegin());
| ^~~~~~
| begin
subgraphs.cpp:40:24: error: ‘class std::unordered_set<bool>’ has no member named ‘front’
40 | q.push(stopper.front());
| ^~~~~