摘要: //实现顺序表基本功能,然两个顺序表相并#include #include using namespace std;typedef int T;class SeqList{ T *data; int MaxSize; int last;public:... 阅读全文
posted @ 2019-03-15 09:49 UnderScrutiny 阅读(165) 评论(0) 推荐(0) 编辑
摘要: //冒泡排序#include using namespace std;int main(){ int n; cin>>n; int a[n]; for(int i=0;i>a[i]; } for(int i=0;ia[j]){ ... 阅读全文
posted @ 2019-03-15 09:47 UnderScrutiny 阅读(115) 评论(0) 推荐(0) 编辑