#include<stdio.h>#include<malloc.h>typedef struct Node{int coef;int expn;struct Node *next;}List;List *Creat(){List *head,*p1,*p2;p1=p2=(List *)malloc(sizeof(List));head=NULL;scanf("%d%d",&p1->coef,&p1->expn);p1->next=NULL;while(p1->coef!=-1&&p1->expn!=-1){if(head==NULL) head=p1;else p2->next=p1;p2=p1;