Problem | minimum |
---|---|
User | arsenal4eva |
Submission Time | 2025-04-25 21:49:21 |
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:6: error: ‘i’ was not declared in this scope
5 | for(i = 0; i < n; i++){
| ^
minimum.cpp:5:17: error: ‘n’ was not declared in this scope
5 | for(i = 0; i < n; i++){
| ^
minimum.cpp:6:16: error: expected ‘;’ before ‘if’
6 | A[0] = lowest
| ^
| ;
7 | if A[i] < lowest:
| ~~