Problem | minimum |
---|---|
User | Fet |
Submission Time | 2024-11-27 09:31:27 |
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:11: error: overloaded function with no contextual type information
5 | min = A[0];
| ^
minimum.cpp:6:7: error: ‘i’ was not declared in this scope
6 | for (i = 1; i < N; i++) {
| ^
minimum.cpp:11:9: error: cannot resolve overloaded function ‘min’ based on conversion to type ‘int’
11 | return min
| ^~~
minimum.cpp:11:12: error: expected ‘;’ before ‘}’ token
11 | return min
| ^
| ;
12 | }
| ~