Problem minimum
User 2Princes1Lance
Submission Time 2023-11-24 17:21:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp:1:27: error: use of parameter outside function body before ‘]’ token
1 | int findMin(int N, int A[N]){
| ^
minimum.cpp: In function ‘int findMin(...)’:
minimum.cpp:3:21: error: ‘N’ was not declared in this scope
3 | for (int i; i < N; i++){
| ^
minimum.cpp:4:12: error: ‘A’ was not declared in this scope
4 | if(A[i] > Max){
| ^