Two dimensional array max int value? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Two dimensional array max int value?

I have a two dimensional array as ary[i][j] and I want to find out the largest int value from ' j ' int values. How can I do that as a short ? I

18th Dec 2016, 10:01 AM
Kemal Akgöl
Kemal Akgöl - avatar
1 Antwort
+ 1
Sort your array. Use std::sort.
18th Dec 2016, 11:58 AM
Чистобаев Андрей
Чистобаев Андрей - avatar