/*Given an array of distinct integers. The task is to count all the triplets such that sum of two elements equals the third element. Input: The first line of input contains an integer T denoting the ...