Problem minimum
User lukedin13542
Submission Time 2023-05-19 11:18:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findmin(int, int*)’:
minimum.cpp:4:2: error: expected ‘,’ or ‘;’ before ‘for’
4 | for (int i= 0;i<N; i++){
| ^~~
minimum.cpp:4:16: error: ‘i’ was not declared in this scope
4 | for (int i= 0;i<N; i++){
| ^
minimum.cpp:9:15: error: expected ‘;’ before ‘}’ token
9 | return minval
| ^
| ;
10 | }
| ~