Problem minimum
User Elwinthenerd
Submission Time 2024-08-26 20:41:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:7: error: ‘intx’ was not declared in this scope; did you mean ‘int’?
5 | for (intx=0,x<N,x++){
| ^~~~
| int
minimum.cpp:5:14: error: ‘x’ was not declared in this scope
5 | for (intx=0,x<N,x++){
| ^
minimum.cpp:9:32: error: expected ‘)’ before ‘;’ token
9 | cout << *min_element(A, A + N);
| ^
| )
minimum.cpp:5:6: note: to match this ‘(’
5 | for (intx=0,x<N,x++){
| ^