Problem ranges
User potatoed78
Submission Time 2025-06-20 16:26:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ranges.cpp: In function ‘int main()’:
ranges.cpp:16:14: error: invalid types ‘long long int[int]’ for array subscript
16 | arr[i] = 0;
| ^
ranges.cpp:22:17: error: expected ‘;’ before ‘}’ token
22 | max += x
| ^
| ;
23 | }
| ~