문제 Given an array of integers and a target value, determine the number of pairs of array elements that have a difference equal to the target value.링크 Example There are three values that differ by : , , and . Return . Function Description Complete the pairs function below. pairs has the following parameter(s): int k: an integer, the target difference int arr[n]: an array of integers 입력 The first ..