strange_device.cpp: In function 'int main()':
strange_device.cpp:20:20: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'std::set<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wformat=]
20 | printf("%lld",st.size());
| ~~~^ ~~~~~~~~~
| | |
| | std::set<std::pair<long long int, long long int> >::size_type {aka long unsigned int}
| long long int
| %ld
strange_device.cpp:7:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | scanf("%lld %lld %lld",&n,&a,&b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
strange_device.cpp:10:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%lld %lld",&l[i],&r[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~