Problem | minimum |
---|---|
User | acesuk168 |
Submission Time | 2024-03-15 16:40:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:18: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
6 | return min(A.begin(),A.end());
| ^~~~~
minimum.cpp:6:28: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
6 | return min(A.begin(),A.end());
| ^~~