Problem minimum
User nmluan
Submission Time 2025-01-15 22:26:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:4:12: error: ‘a’ was not declared in this scope
4 | int res = a[0];
| ^
minimum.cpp:5:22: error: ‘n’ was not declared in this scope
5 | for (int i = 1; i < n; i++){
| ^