Problem globalwarming
User OIaspirant2307
Submission Time 2024-02-23 18:29:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:33:9: error: ‘arr’ was not declared in this scope
33 | if (arr[i] > x && water)
| ^~~
globalwarming.cpp:38:9: error: ‘arr’ was not declared in this scope
38 | if (arr[i] <= x)
| ^~~