Problem | minimum |
---|---|
User | jasmine |
Submission Time | 2023-11-09 09:37:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:24: error: expected ‘;’ before ‘)’ token
5 | for(a = 0, a <= N, ++a){
| ^
| ;
minimum.cpp:11:2: error: expected primary-expression before ‘return’
11 | return min;
| ^~~~~~
minimum.cpp:10:3: error: expected ‘;’ before ‘return’
10 | }
| ^
| ;
11 | return min;
| ~~~~~~
minimum.cpp:11:2: error: expected primary-expression before ‘return’
11 | return min;
| ^~~~~~
minimum.cpp:10:3: error: expected ‘)’ before ‘return’
10 | }
| ^
| )
11 | return min;
| ~~~~~~
minimum.cpp:5:5: note: to match this ‘(’
5 | for(a = 0, a <= N, ++a){
| ^