摘要: E .Sequence in the Pocket sol:将数组copy一份,然后sort一下,找寻后面最多多少个元素在原数组中保持有序,用总个数减去已经有序的就是我们需要移动的次数。 思维题 #include "bits/stdc++.h" using namespace std; const 阅读全文
posted @ 2019-05-02 19:26 Jathon-cnblogs 阅读(1153) 评论(2) 推荐(1) 编辑