| Problem | minimum |
|---|---|
| User | Martin |
| Submission Time | 2026-07-17 11:50:00 |
| 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:8: error: overloaded function with no contextual type information
5 | min = INT_MAX;
| ^~~~~~~
minimum.cpp:7:12: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<’
7 | if (A[i] < min) {
| ~~~~~^~~~~
minimum.cpp:8:13: error: overloaded function with no contextual type information
8 | min = A[i];
| ^
minimum.cpp:12:9: error: cannot resolve overloaded function ‘min’ based on conversion to type ‘int’
12 | return min;
| ^~~