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.
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.
This comment is hidden because it contains spoiler information about the solution