Problem | subgraphs |
---|---|
User | r1r2r3r4 |
Submission Time | 2025-07-29 19:24:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:23:12: error: expected ‘(’ before ‘stopper’
23 | if stopper[i] {
| ^~~~~~~
| (
subgraphs.cpp:27:9: error: ‘else’ without a previous ‘if’
27 | else continue;
| ^~~~
subgraphs.cpp:33:29: error: ‘class std::vector<bool>’ has no member named ‘pop’
33 | stopper.pop();
| ^~~
subgraphs.cpp:39:16: error: no matching function for call to ‘std::queue<int>::push()’
39 | q.push();
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from subgraphs.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:259:7: note: candidate: ‘void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = int; _Sequence = std::deque<int, std::allo