Problem subgraphs
User Mischa
Submission Time 2023-11-10 16:02:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp:5:6: error: expected initializer before ‘==’ token
5 | int j==0;
| ^~
subgraphs.cpp:6:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin >> N;
| ^~~
| sin
subgraphs.cpp: In function ‘void dfs(long long int)’:
subgraphs.cpp:12:9: error: ‘j’ was not declared in this scope
12 | j=j+1;
| ^
subgraphs.cpp: In function ‘int32_t main()’:
subgraphs.cpp:20:11: error: ‘j’ was not declared in this scope
20 | cout << j
| ^