Problem minimum
User asruby
Submission Time 2023-12-11 14:07:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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