Node *p,*q,* temp;for(p=head;p!=NULL;p=p->next)for(q=head;q!=NULL;q=q->next){if(p->元素元素){temp=p;p=q;q=temp;}}