Swaps and Inversions

Long long ago, there was an integer sequence a.  Tonyfang think this sequence is messy, so he will count the number of inversions in this sequence. Because he is angry, you will have to pay x yuan for
相关文章
相关标签/搜索