Each of the t tests start with a number n (nOutputFor every test output one line giving the number of inversions of A. Given n and an array A your task is to find the number of inversions of A. Let A[0...