🌈 搜索
📅  最后修改于: 2022-03-11 14:44:55.569000             🧑  作者: Mango
int arr[] = {1,4,2,10}; int n = 4; //size of array cout<<*max_element(arr,arr+n); // Output: 10