radio.cpp: In function 'int main()':
radio.cpp:15:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
15 | scanf("%d %d %d", &x[i], &p[i], &s[i]);
| ~^ ~~~~~
| | |
| int* ll* {aka long long int*}
| %lld
radio.cpp:15:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll*' {aka 'long long int*'} [-Wformat=]
15 | scanf("%d %d %d", &x[i], &p[i], &s[i]);
| ~^ ~~~~~
| | |
| int* ll* {aka long long int*}
| %lld
radio.cpp:15:23: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll*' {aka 'long long int*'} [-Wformat=]
15 | scanf("%d %d %d", &x[i], &p[i], &s[i]);
| ~^ ~~~~~
| | |
| int* ll* {aka long long int*}
| %lld
radio.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d %d", &n, &k);
| ~~~~~^~~~~~~~~~~~~~~~~
radio.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
15 | scanf("%d %d %d", &x[i], &p[i], &s[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~