radio.cpp: In function 'int main()':
radio.cpp:40:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i=0, j=0; i<l.size()||j<r.size(); ){
| ~^~~~~~~~~
radio.cpp:40:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i=0, j=0; i<l.size()||j<r.size(); ){
| ~^~~~~~~~~
radio.cpp:41:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if(j==r.size()||(i!=l.size()&&l[i]<=r[j])){
| ~^~~~~~~~~~
radio.cpp:41:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if(j==r.size()||(i!=l.size()&&l[i]<=r[j])){
| ~^~~~~~~~~~
radio.cpp:23:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
23 | scanf("%d %d", &n, &k);
| ~~~~~^~~~~~~~~~~~~~~~~
radio.cpp:24:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
24 | for(int i=1; i<=n; i++)scanf("%lld %lld %lld", &x[i], &p[i], &s[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~