Problem globalwarming
User Yinnotayl64
Submission Time 2026-04-13 11:01:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:58:5: error: ‘islands’ was not declared in this scope; did you mean ‘srand’?
58 | islands = max(islands, components);
| ^~~~~~~
| srand
globalwarming.cpp:61:13: error: ‘islands’ was not declared in this scope; did you mean ‘srand’?
61 | cout << islands;
| ^~~~~~~
| srand