Problem subgraphs
User r1r2r3r4
Submission Time 2025-07-29 19:11:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:36:22: error: ‘b’ was not declared in this scope
36 | q.push(*find(b.rbegin(), b.rend(), true));
| ^
subgraphs.cpp: At global scope:
subgraphs.cpp:38:5: error: ‘cout’ does not name a type
38 | cout << dsubs;
| ^~~~
subgraphs.cpp:39:5: error: expected unqualified-id before ‘return’
39 | return 0;
| ^~~~~~
subgraphs.cpp:40:1: error: expected declaration before ‘}’ token
40 | }
| ^