The file contains a sequence of integers. Sequence elements can take integer values from
-10 000
to
10 000
inclusive. Determine the number of pairs in the sequence in which at least one element is a divisor of the sum of all numbers in the sequence. In your answer, write down the number of found pairs, then the minimum of the sums of the elements of such pairs (two numbers separated by a space in one line). In this problem, a pair means two successive elements of a sequence.
Assignment file