end() for empty vectors. std::vector<int> v = {5, 2, 8, 10, 9}; int maxElementIndex = std::max_element(v.
確定! 回上一頁