Problem minimum
User Lzr30
Submission Time 2024-12-28 20:38:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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