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