The description of a task goes like this: We have n numbers, and we have to find quantity of unique sums of all the pairs in the array. For example: