comparing numbers to sort then get median value

后端 未结 3 629
无人共我
无人共我 2021-01-19 14:10

Sorting five integers using bitwise or comparison operators can be achieved by first getting the highest number then the second highest then the third and so on.

Her

3条回答
  •  广开言路
    2021-01-19 14:54

    The third highest number of five integers is the median, so if you get the third highest number you are fine.

提交回复
热议问题