Problem | minimum |
---|---|
User | Maggie |
Submission Time | 2023-11-09 09:30:50 |
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:2: error: expected ‘}’ at end of input
10 | }
| ^
minimum.cpp:3:28: note: to match this ‘{’
3 | int findMin(int N, int A[]){
| ^