Problem minimum
User R1
Submission Time 2023-04-17 16:54:05
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 ‘int findMin(...)’:
minimum.cpp:6:17: error: ‘A’ was not declared in this scope
6 | int current = A[0];
| ^
minimum.cpp:7:17: error: ‘N’ was not declared in this scope
7 | for(ll i=1; i<N; ++i){
| ^