逆序数 :https://blog.nowcoder.net/n/4a4e086c2b2c49cf8cd63eca0b67f1ab