Problem | minimum |
---|---|
User | arsenal4eva |
Submission Time | 2025-04-25 21:49:08 |
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:2: error: expected initializer before ‘for’
5 | for(i = 0; i < n; i++){
| ^~~
minimum.cpp:5:13: 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: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 | }
| ~