Problem mountains
User huyleisme
Submission Time 2024-02-21 21:31:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountains.cpp: In function ‘int32_t main()’:
mountains.cpp:20:8: error: ‘arr’ was not declared in this scope
20 | if (arr[i] > arr[j]) {
| ^~~
mountains.cpp:26:8: error: ‘arr’ was not declared in this scope
26 | if (arr[i] > arr[j]) {
| ^~~