Problem minimum
User PrunJuice
Submission Time 2025-03-21 15:53:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:33: error: ‘N’ was not declared in this scope
5 | int m = *min_element(A, A + N);
| ^
minimum.cpp:5:14: error: ‘min_element’ was not declared in this scope
5 | int m = *min_element(A, A + N);
| ^~~~~~~~~~~
minimum.cpp:6:12: error: ‘min’ was not declared in this scope
6 | return min(n, m);
| ^~~