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:17:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | scanf(" %d",&Q);
| ~~~~~^~~~~~~~~~
bubble.cpp:25:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | scanf(" %d",&T);
| ~~~~~^~~~~~~~~~
bubble.cpp:38:30: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | scanf(" %d",&l);
| ~~~~~^~~~~~~~~~
bubble.cpp:39:30: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | scanf(" %d",&r);
| ~~~~~^~~~~~~~~~