文章分类 -  nyist

摘要:You want to processe a sequence of n distinct integers by swapping two adjacent sequence elements until the sequence is sorted in ascending order. Then how many times it need.For example, 1 2 3 5 4, we only need one operation : swap 5 and 4.输入The input consists of a number of test cases. Each case c 阅读全文
posted @ 2013-03-16 14:53 heity 阅读(153) 评论(0) 推荐(0)