Introduction - If you have any usage issues, please Google them yourself
Title: an array of N numbers, and the total number of inverse pairs. The inverse pair is defined as the number of two tuples that exist (I, J) that satisfy the I < J and A[i] > A[j]. Input format: the first line contains an integer, representing an array of items. The next line, including the number of n (n less than 100000), followed by Ai (Ai = 109). Output format: the output one line represents the corresponding answer. Input sample: 5
13254 output sample: 2