Problem minimum
User dieunq1309
Submission Time 2023-04-05 14:29:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp:4:27: error: use of parameter outside function body before ‘]’ token
4 | int findMin(int N, int A[N])
| ^
minimum.cpp: In function ‘int findMin(...)’:
minimum.cpp:6:7: error: ‘A’ was not declared in this scope
6 | sort(A, A + N);
| ^
minimum.cpp:6:14: error: ‘N’ was not declared in this scope
6 | sort(A, A + N);
| ^
minimum.cpp:6:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
6 | sort(A, A + N);
| ^~~~
| qsort