Problem | minimum |
---|---|
User | arsenal4eva |
Submission Time | 2025-04-25 21:48: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:4:6: error: ‘i’ was not declared in this scope
4 | for(i = 0; i < n; i++){
| ^
minimum.cpp:4:17: error: ‘n’ was not declared in this scope
4 | for(i = 0; i < n; i++){
| ^
minimum.cpp:6:3: error: expected initializer before ‘A’
6 | A[0] = lowest
| ^
minimum.cpp:10:9: error: ‘lowest’ was not declared in this scope
10 | return lowest
| ^~~~~~
minimum.cpp:10:15: error: expected ‘;’ before ‘}’ token
10 | return lowest
| ^
| ;
11 | }
| ~