hdu 2838 Cow Sorting (树状数组+逆序对)

NoSuchKey