#include<algorithm>
max_value = *std::max_element(array, array+size);
max_value_index = std::max_element(array, array+size) - array;
For further actions, you may consider blocking this person and/or reporting abuse
#include<algorithm>
max_value = *std::max_element(array, array+size);
max_value_index = std::max_element(array, array+size) - array;
For further actions, you may consider blocking this person and/or reporting abuse
Branko Premzel -
Bruno Ciccarino λ -
Ankit Kumar Sinha -
Alexandra -
Top comments (0)