Problem | minimum |
---|---|
User | noob41 |
Submission Time | 2023-11-07 21:49:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:5:31: error: use of parameter outside function body before ‘]’ token
5 | int32_t findMin(int N, int A[N]){
| ^
minimum.cpp: In function ‘int32_t findMin(...)’:
minimum.cpp:7:16: error: ‘N’ was not declared in this scope
7 | for(int i=0;i<N;i++){
| ^
minimum.cpp:8:17: error: ‘A’ was not declared in this scope
8 | if(currentMin>A[i]){
| ^