题目:http://www.lydsy.com/JudgeOnline/problem.php?id=3850题解:类似于国王游戏,推一下相邻两个元素交换的条件然后排个序就可以了。代码: 1 #include 2 3 #include 4 5 #include 6 7 #include 8 ... Read More
posted @ 2015-01-08 18:01 ZYF-ZYF Views(158) Comments(0) Diggs(0) Edit