Problem minimum
User Water
Submission Time 2023-06-27 16:55:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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