Problem | minimum |
---|---|
User | andthatsallshewrote |
Submission Time | 2023-11-10 09:21:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:1:27: error: use of parameter outside function body before ‘]’ token
1 | int findMin(int N, int A[N])
| ^
minimum.cpp: In function ‘int findMin(...)’:
minimum.cpp:3:12: error: ‘A’ was not declared in this scope
3 | int min = A[0];
| ^
minimum.cpp:4:23: error: ‘N’ was not declared in this scope
4 | for (long i = 0; i < N; i++)
| ^