Problem minimum
User AndyChen
Submission Time 2026-05-15 13:28:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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