刷题日记 - 一元多项式的乘法与加法运算(链表实现)
#include<iostream>
#include<vector>
using namespace std;
typedef struct Node* List;
struct Node {
int coef;
int exp;
List Next;
};
struct Node L;
List Pointer;
//calculate length of list
int lengthRe(List Pt) {
List p = Pt;
int i = 0;
w.
原创
2021-07-27 22:38:28 ·
115 阅读 ·
0 评论