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