Problem minimum
User Sia
Submission Time 2023-11-09 09:36:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:8:20: error: expected ‘;’ before ‘)’ token
8 | for (i=0, i<n, i++) {
| ^
| ;
minimum.cpp:12:1: error: expected primary-expression before ‘}’ token
12 | }
| ^
minimum.cpp:11:3: error: expected ‘;’ before ‘}’ token
11 | }
| ^
| ;
12 | }
| ~
minimum.cpp:12:1: error: expected primary-expression before ‘}’ token
12 | }
| ^
minimum.cpp:11:3: error: expected ‘)’ before ‘}’ token
11 | }
| ^
| )
12 | }
| ~
minimum.cpp:8:6: note: to match this ‘(’
8 | for (i=0, i<n, i++) {
| ^
minimum.cpp:12:1: error: expected primary-expression before ‘}’ token
12 | }
| ^