Problem | minimum |
---|---|
User | Water |
Submission Time | 2023-06-27 16:52:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int main()’:
minimum.cpp:30:16: error: invalid conversion from ‘int’ to ‘int*’ [-fpermissive]
30 | findMin(a, b[a]);
| ~~~^
| |
| int
minimum.cpp:3:24: note: initializing argument 2 of ‘int findMin(int, int*)’
3 | int findMin(int N, int A[]){
| ~~~~^~~