Problem ranges
User tomo31415
Submission Time 2025-06-20 16:19:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ranges.cpp: In function ‘int main()’:
ranges.cpp:15:14: error: expected ‘;’ before ‘}’ token
15 | cin>>vec[i]
| ^
| ;
16 | }
| ~
ranges.cpp:52:7: error: ‘arr’ was not declared in this scope
52 | if (arr[i]>newmax) newmax=arr[i];
| ^~~