Problem minimum
User ahrynn
Submission Time 2024-01-22 14:31:14
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 = 1; i < N; i++) {
| ^~~
minimum.cpp:3:18: error: ‘i’ was not declared in this scope
3 | for (int i = 1; i < N; i++) {
| ^
minimum.cpp:8:13: error: expected ‘;’ before ‘}’ token
8 | return kito
| ^
| ;
9 | }
| ~