Problem minimum
User Thecoder3281f
Submission Time 2023-02-11 16:08:16
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: ‘vector’ was not declared in this scope
2 | vector<int> dest(A, A + N);
| ^~~~~~
minimum.cpp:2:12: error: expected primary-expression before ‘int’
2 | vector<int> dest(A, A + N);
| ^~~
minimum.cpp:5:28: error: ‘dest’ was not declared in this scope
5 | auto min = min_element(dest.begin(), dest.end());
| ^~~~
minimum.cpp:5:16: error: ‘min_element’ was not declared in this scope
5 | auto min = min_element(dest.begin(), dest.end());
| ^~~~~~~~~~~