Problem | minstack |
---|---|
User | ilikeeggs |
Submission Time | 2024-08-25 18:05:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minstack.cpp: In function ‘void pop()’:
minstack.cpp:14:23: error: cannot convert ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘int’ in assignment
14 | minInt = min_element(vect.begin(), vect.end());
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| __gnu_cxx::__normal_iterator<int*, std::vector<int> >