Home > Back-end >  Please order storage structure an try the value of the yuan
Please order storage structure an try the value of the yuan

Time:10-03

One yuan polynomial form such as: c1x ^ e1 + c2x ^ e2 +... , first enter a yuan many try each coefficient and index, and then create the order table to store the yuan many try, for debugging of simplicity, x, coefficient and value of type int, must carry on the input and output according to the following format, no fault, the system will automatically compile test execution, input a space interval, input two consecutive 1, said input end, save the children, the small white won't do
Typedef struct {

Int * c;//coefficient

Int * e;//index

Int length;

Int listsize;

} SqList;
  • Related