打印出成绩最高的同学的序号,如果有多位同学成绩最高则打印出他们所有人的序号

void Award (struct stu * head)
.
.
.
.


void Award (struct stu* head)
{
  int max = 0;
  for(struct stu* p = head; p != NULL; p = head->next){
    if(p->point > max)
      max = p -> point;
  }
  for(struct stu* p = head; p != NULL; p = head->next){
    if(p->point == max){
      printf("%d ", p->id);
    }
  }
  putchar('\n');
}