Problem minimum
User G92
Submission Time 2024-02-17 20:52:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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