Problem | minimum |
---|---|
User | havinaaaaash |
Submission Time | 2024-06-04 01:20:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:3:27: error: use of parameter outside function body before ‘]’ token
3 | int findMin(int N, int A[N]){
| ^
minimum.cpp: In function ‘int findMin(...)’:
minimum.cpp:4:17: error: ‘N’ was not declared in this scope
4 | for(int J=0; J<N-1; J++){
| ^
minimum.cpp:6:8: error: ‘A’ was not declared in this scope
6 | if (A[I] > A[I+1]){
| ^
minimum.cpp:11:9: error: ‘A’ was not declared in this scope
11 | return A[0];
| ^