Problem minimum
User liuyueyang0510
Submission Time 2024-04-17 10:19:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:28: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
6 | return std::min_element(A, A + N);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~
| |
| int*