Problem minimum
User fanqie
Submission Time 2024-08-16 11:46:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp:5:27: error: use of parameter outside function body before ‘]’ token
5 | int findMin(int N, int A[N]){
| ^
minimum.cpp: In function ‘long long int findMin(...)’:
minimum.cpp:6:7: error: ‘A’ was not declared in this scope
6 | sort(A, A+N);
| ^
minimum.cpp:6:12: error: ‘N’ was not declared in this scope
6 | sort(A, A+N);
| ^