Problem minimum
User apxy36
Submission Time 2023-11-09 09:38:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:3:27: error: request for member ‘size’ in ‘A’, which is of non-class type ‘int*’
3 | for (int i = 1; i < A.size(); i++){
| ^~~~
minimum.cpp:4:13: error: ‘min’ was not declared in this scope
4 | m = min(A[i - 1], A[i]);
| ^~~