You are given an array of integers, , and a positive integer, . Find and print the number of pairs where and + is divisible by .
For example, and . Our three pairs meeting the criteria are and .
Complete the divisibleSumPairs function in the editor below. It should return the integer count of pairs meeting the criteria.
divisibleSumPairs has the following parameter(s):
The first line contains space-separated integers, and .
The second line contains space-separated integers describing the values of .
Print the number of pairs where and + is evenly divisible by .
1 3 2 6 1 2
Here are the valid pairs when :