c++數據結構一元多項式求和

方法通常,時間複雜度高,請前輩指教數組 首先定義節點類型.net template<class DataType> struct Node { DataType data; Node<DataType> *next; }; struct elem { int coef; int exp; }; 將LinkList的泛型指定爲elem,並初始化。(我的小白,能力有限,未能想到好的結構體數組初
相關文章
相關標籤/搜索