Problem | minimum |
---|---|
User | Sia |
Submission Time | 2023-11-09 09:35:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i=0, i<n, i++) {
| ^
minimum.cpp:11:1: error: expected primary-expression before ‘}’ token
11 | }
| ^
minimum.cpp:10:3: error: expected ‘;’ before ‘}’ token
10 | }
| ^
| ;
11 | }
| ~
minimum.cpp:11:1: error: expected primary-expression before ‘}’ token
11 | }
| ^
minimum.cpp:10:3: error: expected ‘)’ before ‘}’ token
10 | }
| ^
| )
11 | }
| ~
minimum.cpp:7:6: note: to match this ‘(’
7 | for (i=0, i<n, i++) {
| ^
minimum.cpp:11:1: error: expected primary-expression before ‘}’ token
11 | }
| ^