Problem minimum
User thelusidian
Submission Time 2024-02-19 16:35:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:7: error: ‘i’ was not declared in this scope
6 | for (i=0; i<a; i++) {
| ^
minimum.cpp:7:30: error: ‘n’ was not declared in this scope
7 | smallest = min(smallest, b[n]);
| ^