find duplicates in an array and sum them in C

后端 未结 0 872
温柔的废话
温柔的废话 2021-01-06 04:10

Lets say i have an array[]={1,2,4,5,6,4,1,1} i want the new array to be arr[]={3,2,8,5,6}. The idea is any duplicate number to be added up and remove the duplicate. I am not

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