摘要: #include #include #include using namespace std; void bubblesort(int A[],int n) { for(bool sorted=false;sorted=!sorted;n--) for(int i=1;iA[i]) { swap(A[i-1],... 阅读全文
posted @ 2018-10-09 21:42 CheeseIce 阅读(117) 评论(0) 推荐(0) 编辑