Get number of same values in arrays in C++

前端 未结 0 565
独厮守ぢ
独厮守ぢ 2021-01-23 20:13

I need a function int countDifferentNumbers(int v[], int n) which counts how many different values the array v with n entries contains.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题