Problem | minimum |
---|---|
User | carson |
Submission Time | 2025-08-01 19:49:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:4:24: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘int*’
4 | return min_elements(a.begin(),a.end());
| ^~~~~
minimum.cpp:4:34: error: request for member ‘end’ in ‘a’, which is of non-class type ‘int*’
4 | return min_elements(a.begin(),a.end());
| ^~~
minimum.cpp:4:9: error: ‘min_elements’ was not declared in this scope
4 | return min_elements(a.begin(),a.end());
| ^~~~~~~~~~~~