Problem | minimum |
---|---|
User | Whatturtle |
Submission Time | 2024-03-20 16:48:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:5:26: 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:7:20: error: ‘N’ was not declared in this scope
7 | for (int i = 0;i<N;i++){
| ^
minimum.cpp:8:8: error: ‘A’ was not declared in this scope
8 | if(A[i]<min){
| ^