Answers for "find the max element in a vector stl c++"

C++
5

max of a vector c++

cout<<*max_element(a.begin(), a.end())<<endl;
Posted by: Guest on April-22-2021

Browse Popular Code Answers by Language