lot.cpp: In function 'int main()':
lot.cpp:10:27: warning: unused variable 'x' [-Wunused-variable]
10 | int n,m,l,q,i,j,k,cnt,x;
| ^
lot.cpp:11:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d %d",&n,&l);
| ~~~~~^~~~~~~~~~~~~~~
lot.cpp:12:27: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | for(i=1;i<=n;i++)scanf("%d",&a[i]),b[i]=a[i];
| ~~~~~^~~~~~~~~~~~
lot.cpp:14:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d",&q);
| ~~~~~^~~~~~~~~
lot.cpp:16:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%d",&que[i]);
| ~~~~~^~~~~~~~~~~~~~