Problem minimum
User Batigol
Submission Time 2024-06-08 13:14:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:2:15: error: expected ‘,’ or ‘;’ before numeric constant
2 | int res = 10 000 000;
| ^~~
minimum.cpp:3:13: error: ‘begin’ was not declared in this scope
3 | for(auto i:A){
| ^
minimum.cpp:3:13: error: ‘end’ was not declared in this scope
minimum.cpp:4:9: error: ‘min’ was not declared in this scope
4 | res = min(res, i);
| ^~~