摘要: 这题用了冒泡排序的思想,不过紫书上的描述有误,建议参考原题。 #include using namespace std;deque a;vector res;bool is_order(){ for (int i = 1; i != a.size(); ++i) if (a[i] > n, n... 阅读全文
posted @ 2015-03-19 17:26 Popco 阅读(153) 评论(0) 推荐(0) 编辑