Problem minimum
User wneedywelon
Submission Time 2023-11-11 17:19:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int main()’:
minimum.cpp:13:12: error: invalid conversion from ‘int’ to ‘int*’ [-fpermissive]
13 | findMin(N,A);
| ^
| |
| int
minimum.cpp:4:24: note: initializing argument 2 of ‘int findMin(int, int*)’
4 | int findMin(int N, int A[]){
| ~~~~^~~