Problem | minimum |
---|---|
User | CoconutNut100 |
Submission Time | 2024-04-12 13:50:59 |
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:32: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘int*’
5 | return *std::min_element(a.begin(), a.end());
| ^~~~~
minimum.cpp:5:43: error: request for member ‘end’ in ‘a’, which is of non-class type ‘int*’
5 | return *std::min_element(a.begin(), a.end());
| ^~~