Problem minimum
User justin271828
Submission Time 2024-05-17 15:10:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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