Problem minimum
User cri
Submission Time 2023-04-28 13:45:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:39: error: ‘min’ was not declared in this scope; did you mean ‘minn’?
6 | for(int i = 1; i < N; i++) minn = min(minn, A[i]);
| ^~~
| minn