Problem minimum
User nianhe
Submission Time 2023-11-08 23:29:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:2:5: error: ‘cout’ was not declared in this scope
2 | cout<<*min_element(A,A+N)<<endl;
| ^~~~
minimum.cpp:2:12: error: ‘min_element’ was not declared in this scope
2 | cout<<*min_element(A,A+N)<<endl;
| ^~~~~~~~~~~
minimum.cpp:2:32: error: ‘endl’ was not declared in this scope
2 | cout<<*min_element(A,A+N)<<endl;
| ^~~~