Problem minimum
User Dolphy
Submission Time 2023-10-14 11:30:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:3:18: error: ‘n’ was not declared in this scope
3 | for (int i=1; i<n; i++) if (A[i]<min) min=A[i];
| ^