hdu 6318 Swaps and Inversions(树状数组+离散化)

NoSuchKey