Problem | minimum |
---|---|
User | SubtleNotice |
Submission Time | 2025-10-05 14:19:45 |
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:28: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
6 | auto x = min_element(A.begin(),A.end());
| ^~~~~
minimum.cpp:6:38: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
6 | auto x = min_element(A.begin(),A.end());
| ^~~
minimum.cpp:6:14: error: ‘min_element’ was not declared in this scope
6 | auto x = min_element(A.begin(),A.end());
| ^~~~~~~~~~~