foo.c: In function 'main':
foo.c:19:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
19 | scanf("%d %d %d", &number_of_people, &number_of_competition, &ranking);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:22:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
22 | scanf("%d", &People[i].score);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:26:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
26 | scanf("%d", &People[i].strength_value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务