第十四题答案选A 根据起泡排序的特性,只有在遇到逆序对的时候,两个相邻元素才会进行交换,又由于是相邻元素间的交换,因此每次交换也只会消除这一对逆序对,故交换操作的次数与序列中逆序对总数相等
By signing up a 水木清研 OJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 水木清研 OJ universal account