Problem minimum
User AdamAdnan1C
Submission Time 2026-04-01 16:34:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:4:2: error: ‘m’ was not declared in this scope
4 | m=A[0];
| ^
minimum.cpp:6:5: error: ‘max’ was not declared in this scope
6 | m=max(m,A[i]);
| ^~~
minimum.cpp:8:10: error: expected ‘;’ before ‘}’ token
8 | return m
| ^
| ;
9 | }
| ~