摘要: 这道题有点像翻煎饼那题,方法不限,只要次数在9^6之内即可。 从前到后依此选择数,最多只需要两次就可以将每个数放到正确位置。 #include using namespace std;int a[10240];void change(const int l, const int r){ f... 阅读全文
posted @ 2015-03-25 14:32 Popco 阅读(106) 评论(0) 推荐(0) 编辑