strange_device.cpp: In function 'void solve()':
strange_device.cpp:49:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for(int i=1;i<b.size();i++){
| ~^~~~~~~~~
strange_device.cpp:64:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for(int i=0;i<l.size();i++){
| ~^~~~~~~~~
strange_device.cpp: At global scope:
strange_device.cpp:70:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
70 | main()
| ^~~~
strange_device.cpp: In function 'void solve()':
strange_device.cpp:31:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
31 | scanf("%lld",&a[i].F);
| ~~~~~^~~~~~~~~~~~~~~~
strange_device.cpp:32:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | scanf("%lld",&a[i].S);
| ~~~~~^~~~~~~~~~~~~~~~