Problem minimum
User TYW
Submission Time 2025-07-06 19:50:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:12: error: ‘a’ was not declared in this scope
5 | minimum=a[0]
| ^
minimum.cpp:8:16: error: expected ‘}’ at end of input
8 | return minimum;
| ^
minimum.cpp:1:28: note: to match this ‘{’
1 | int findMin(int N, int A[]){
| ^