q=headwhile(q->next!=p){ q=q->next; s=new node; s->data =e; q->next = s; s->next = p;}哪来有错啊。求解决暂时没分分了,有了补上