máximo de um vetor C
cout<<*max_element(a.begin(), a.end())<<endl;
Thoughtless Tiger
cout<<*max_element(a.begin(), a.end())<<endl;