min_element returns an iterator, not the value itself. An iterator is essentially a pointer to the element in the container.
To dereference the iterator returned by std::min_element.
Why * operator must be here?
Caught std::exception, what(): basic_string::_M_construct null not valid //// What does it mean?
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
min_element returns an iterator, not the value itself. An iterator is essentially a pointer to the element in the container.
To dereference the iterator returned by std::min_element.
Why * operator must be here?
Caught std::exception, what(): basic_string::_M_construct null not valid //// What does it mean?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution