Problem minimum
User theodorelee
Submission Time 2024-05-26 12:54:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:5: error: expected ‘,’ or ‘;’ before ‘for’
5 | for (int i=0; i<N; i++){
| ^~~
minimum.cpp:5:19: error: ‘i’ was not declared in this scope
5 | for (int i=0; i<N; i++){
| ^