Problem islands2
User gelastropod
Submission Time 2026-07-22 15:02:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

islands2.cpp: In function ‘long long int dfs(int)’:
islands2.cpp:11:12: error: ‘max2’ was not declared in this scope; did you mean ‘max1’?
11 | ll max1 = max2 = 0;
| ^~~~
| max1