0

Can anyone help me to solve this problem? please

Find the maximum number of elements in a given one-dimensional integer array.

5th Nov 2021, 7:41 AM
SrulGerl
SrulGerl - avatar
2 Réponses
+ 3
You can use max_element() from <algorithm> 👍 https://en.cppreference.com/w/cpp/algorithm/max_element
5th Nov 2021, 7:54 AM
Ipang
+ 1
https://code.sololearn.com/cZc6N32j5mBq/?ref=app Try to understand the code by yourself Good Luck!
5th Nov 2021, 7:53 AM
Abdulaziz Al-Shehhi
Abdulaziz Al-Shehhi - avatar