foo.c: In function 'main':
foo.c:21:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[20]' [-Wformat=]
scanf("%s %lld %lld %c %c %lld", &stu[i].name,&stu[i].score,&stu[i].cla,&stu[i].leader,&stu[i].west,&stu[i].paper);
~^ ~~~~~~~~~~~~
foo.c:18:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &N);
^~~~~~~~~~~~~~~~~
foo.c:21:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %lld %lld %c %c %lld", &stu[i].name,&stu[i].score,&stu[i].cla,&stu[i].leader,&stu[i].west,&stu[i].paper);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务