2014.3單鏈表:輸入5個數,使用單鏈表連接,然後有小到大排序輸出。

  //單鏈表:輸入5個數,使用單鏈表連接,然後有小到大排序輸出。 #include<iostream> #include<algorithm> using namespace std; typedef struct node { int data; node* next; }node; int main() { node* a[5]; int b[5];
相關文章
相關標籤/搜索