Problem minimum
User cjcube
Submission Time 2023-11-08 12:45:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:17: error: expected ‘;’ before ‘<’ token
6 | for (int i=0, i<N, i++) {
| ^
| ;
minimum.cpp:6:17: error: expected primary-expression before ‘<’ token
minimum.cpp:6:24: error: expected ‘;’ before ‘)’ token
6 | for (int i=0, i<N, i++) {
| ^
| ;
minimum.cpp:8:18: error: expected ‘;’ before ‘}’ token
8 | minimum = A[i]
| ^
| ;
9 | }
| ~