我晕死。。。
难道建立链表就非得要输出啊。。。
p2->next=NULL;
后面加上输出就没问题了。。。
p2=head;
while(p2)
{
printf("%d %f",p2->num,p2->score);
p2=p2->next;
}

难道建立链表就非得要输出啊。。。

p2->next=NULL;
后面加上输出就没问题了。。。
p2=head;
while(p2)
{
printf("%d %f",p2->num,p2->score);
p2=p2->next;
}

原来时间真的会不够。原來一切真的都已經來不及。