bubble.cpp: In function 'int main()':
bubble.cpp:11:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf(" %d",&N);
| ~~~~~^~~~~~~~~~
bubble.cpp:14:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf(" %d",&lst[i]);
| ~~~~~^~~~~~~~~~~~~~~
bubble.cpp:29:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | scanf(" %d",&Q);
| ~~~~~^~~~~~~~~~
bubble.cpp:35:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | scanf(" %d",&T);
| ~~~~~^~~~~~~~~~
bubble.cpp:45:30: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | scanf(" %d",&l);
| ~~~~~^~~~~~~~~~
bubble.cpp:46:30: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | scanf(" %d",&r);
| ~~~~~^~~~~~~~~~