1中2和2中的1交换,1中的3和3中的1交换,2中的3和3中的2交换,每一次交换count+1; 剩下的就是1 2 3 互换的 ,每一次count+2
点赞 评论

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务