Problem minimum
User MewingAlfie
Submission Time 2024-10-07 09:14:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:5: error: expected ‘,’ or ‘;’ before ‘for’
6 | for (i = 1; i<N; i++ )
| ^~~
minimum.cpp:6:17: error: ‘i’ was not declared in this scope
6 | for (i = 1; i<N; i++ )
| ^
minimum.cpp:9:15: error: expected ‘;’ before ‘}’ token
9 | return min
| ^
| ;
10 |
11 | }
| ~