Main.cpp: In function 'int main()':
Main.cpp:9:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%i",&n);
| ~~~~~^~~~~~~~~
Main.cpp:13:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%i%i",&a[i].fi,&a[i].se);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:51:4: warning: 'idc' may be used uninitialized in this function [-Wmaybe-uninitialized]
51 | r=idc-1;
| ~^~~~~~
Main.cpp:50:4: warning: 'idb' may be used uninitialized in this function [-Wmaybe-uninitialized]
50 | l=idb+1;
| ~^~~~~~