c++ pick every element once from sorted array

后端 未结 0 532
予麋鹿
予麋鹿 2021-01-23 06:32

I have a sorted array and i want to take every element once into an other array

Example: array[] = { 1,2,2,3,3,5 }
Output: array2[] = { 1,2,3,5 }

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