谢谢啦
#include <stdio.h>
#include <stdlib.h>
#define N 100
int main()
{
int n;
while(~scanf("%d", &n))
{
int i;
char name[N][N];
char id[N][N];
int math[N], chinese[N], english[N];
for(i = 0; i < n; i++)
{
scanf("%s %s %d %d %d", id[i], name[i], &math[i], &chinese[i], &english[i]);
}
for(i = 0; i < n; i++)
{
printf("%s,%s,%d,%d,%d\n", id[i], name[i], math[i], chinese[i], english[i]);
}
}
return 0;
}