Problem minimum
User r3io4mf
Submission Time 2024-02-29 20:08:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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