Problem | minimum |
---|---|
User | RogueRanger |
Submission Time | 2024-07-15 13:56:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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 ‘long long int findMin(...)’:
minimum.cpp:7:18: error: ‘N’ was not declared in this scope
7 | for (int i=0; i<N; i++){
| ^
minimum.cpp:8:20: error: ‘A’ was not declared in this scope
8 | temp = min(temp, A[i]);
| ^