Problem minimum
User lyangela
Submission Time 2024-06-21 00:46:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:26: error: ‘n’ was not declared in this scope
5 | for ( int i = 0; i < n; i++ ){
| ^
minimum.cpp:8:21: error: ‘n’ was not declared in this scope
8 | cout << findMin(n, A[]) << endl;
| ^
minimum.cpp:8:26: error: expected primary-expression before ‘]’ token
8 | cout << findMin(n, A[]) << endl;
| ^