Unsolved How to find highest value in Qvector
-
Hello I have Qvector with 100-500 elements I have to find highest value
which option is the fastest and which is the best?
Thanks -
Hi,
std::max_element comes to mind.
-
@erytcg
vector is sorted?