#include <stdio.h>
struct grade
{
char name[20];
int s1, s2, s3;
};
int main(void){
int n, i;
scanf("%d", &n);
struct grade g[n];
struct grade first;
for(i=0; i<n; i++){
scanf("%s %d %d %d", g[i].name, &g[i].s1, &g[i].s2, &g[i].s3);
}
for(i=0; i<n; i++){
for(int j=0; j<n; j++){
if(g[i]<g[j]){
first.name=g[j].name;
}
}
}
printf("%s", )
}
To embed this project on your website, copy the following code and paste it into your website's HTML: