Problem minimum
User Zixuan
Submission Time 2023-12-09 14:52:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:4:30: error: ‘min’ was not declared in this scope; did you mean ‘minv’?
4 | for(int i=0;i<n;i++) minv = min(minv,A[i]);
| ^~~
| minv