Problem | minimum |
---|---|
User | KL |
Submission Time | 2024-08-10 22:02:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘long long int findMin(long long int, long long int*)’:
minimum.cpp:5:18: error: expected ‘]’ before ‘;’ token
5 | int min = A[0;]
| ^
| ]
minimum.cpp:5:19: error: expected primary-expression before ‘]’ token
5 | int min = A[0;]
| ^
minimum.cpp:6:21: error: ‘i’ was not declared in this scope
6 | for (int i = 0; i < N; i++){
| ^
minimum.cpp: In function ‘int main()’:
minimum.cpp:12:13: error: too few arguments to function ‘long long int findMin(long long int, long long int*)’
12 | findMin();
| ^
minimum.cpp:4:5: note: declared here
4 | int findMin(int N, int A[]){
| ^~~~~~~