Problem subgraphs
User WOW
Submission Time 2023-03-17 14:24:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:8:2: error: expected initializer before ‘for’
8 | for (int i=0; i<e; i++){
| ^~~
subgraphs.cpp:8:16: error: ‘i’ was not declared in this scope
8 | for (int i=0; i<e; i++){
| ^
subgraphs.cpp:37:12: error: ‘ad’ was not declared in this scope
37 | int l = ad[cur].size();
| ^~
subgraphs.cpp:44:8: error: no post-increment operator for type
44 | count++;
| ^~
subgraphs.cpp:48:22: error: overloaded function with no contextual type information
48 | printf("%d\n", count);
| ^