Problem minimum
User Water
Submission Time 2023-06-27 17:06:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int nomain()’:
minimum.cpp:30:13: error: cannot convert ‘int (*)[1000000]’ to ‘int*’
30 | findMin(a, &b);
| ^~
| |
| int (*)[1000000]
minimum.cpp:3:24: note: initializing argument 2 of ‘int findMin(int, int*)’
3 | int findMin(int N, int A[]){
| ~~~~^~~