Problem sealevel
User CKCodeBreaker55
Submission Time 2025-03-12 20:33:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sealevel.cpp: In function ‘int main()’:
sealevel.cpp:21:3: error: ‘dfs’ was not declared in this scope; did you mean ‘ffs’?
21 | dfs(x, y, 0);
| ^~~
| ffs
sealevel.cpp: In function ‘void dfs(long long int)’:
sealevel.cpp:26:6: error: ‘vis’ was not declared in this scope
26 | if (vis[x]) return;
| ^~~
sealevel.cpp:27:2: error: ‘vis’ was not declared in this scope
27 | vis[x] = true;
| ^~~
sealevel.cpp:28:13: error: ‘adjList’ was not declared in this scope
28 | for (int i:adjList[x])
| ^~~~~~~