strange_device.cpp:5: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
5 | #pragma GCC optimization ("unroll-loops")
|
strange_device.cpp:6: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
6 | #pragma GCC optimization ("O2")
|
strange_device.cpp:38:9: warning: integer constant is so large that it is unsigned
38 | if( 10000000000000000000LL/B < G ) printf("%lld\n",R-L+1LL);
| ^~~~~~~~~~~~~~~~~~~~~~
strange_device.cpp: In function 'int main()':
strange_device.cpp:28:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
28 | scanf("%d%lld%lld", &N , &A, &B ) ;
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
strange_device.cpp:36:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
36 | scanf("%lld %lld", &L , &R ) ;
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~