Problem minimum
User Subz3r0
Submission Time 2024-08-19 17:51:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:3:15: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
3 | return min(A.begin(),A.end());
| ^~~~~
minimum.cpp:3:25: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
3 | return min(A.begin(),A.end());
| ^~~
minimum.cpp:3:9: error: ‘min’ was not declared in this scope
3 | return min(A.begin(),A.end());
| ^~~