Problem minimum
User fanqie
Submission Time 2024-07-15 12:39:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp:6:8: error: array bound is not an integer constant before ‘]’ token
6 | int A[i];
| ^
minimum.cpp:7:27: error: array bound is not an integer constant before ‘]’ token
7 | int findMin(int N, int A[i]){
| ^
minimum.cpp: In function ‘long long int findMin(...)’:
minimum.cpp:8:14: error: ‘A’ was not declared in this scope
8 | int minimum=A[1];
| ^
minimum.cpp:9:18: error: ‘N’ was not declared in this scope
9 | for (int i=0; i<N; i++){
| ^