Problem subgraphs
User nguyendinhanh1508
Submission Time 2025-02-03 16:43:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘long long int dfs(long long int)’:
subgraphs.cpp:8:18: error: return-statement with no value, in function returning ‘long long int’ [-fpermissive]
8 | if(visited[x]) return;
| ^~~~~~