#include <stdio.h> typedef struct student{ int hao; int score; }student; void pai(int n,student s[]){//插入排序 student tempt; int i,j; for(i=1;i<n;i++){ tempt=s[i];//待排元素 for(j=i-1;j>=0&&(s[j].score>tempt.score||(s[j].score==tempt.score&&s[j].hao>tempt.hao));j--){ s[j+...