Problem | minimum |
---|---|
User | Maggie |
Submission Time | 2023-11-09 09:32:32 |
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:22: error: expected ‘;’ before ‘if’
5 | int min; min = A[0]
| ^
| ;
6 | if (A[i]< min){
| ~~
minimum.cpp:10:9: error: cannot resolve overloaded function ‘min’ based on conversion to type ‘int’
10 | return min ;
| ^~~