del13.cpp: In function 'int F(int, int)':
del13.cpp:14:11: warning: unused variable 'ok' [-Wunused-variable]
14 | int x,ok=1,i;
| ^~
del13.cpp: In function 'int main()':
del13.cpp:45:11: warning: unused variable 'j' [-Wunused-variable]
45 | int i,j,con,xx=0,ok=1,last;
| ^
del13.cpp:45:13: warning: unused variable 'con' [-Wunused-variable]
45 | int i,j,con,xx=0,ok=1,last;
| ^~~
del13.cpp:45:17: warning: unused variable 'xx' [-Wunused-variable]
45 | int i,j,con,xx=0,ok=1,last;
| ^~
del13.cpp:46:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
46 | scanf("%d",&T);
| ~~~~~^~~~~~~~~
del13.cpp:49:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
49 | scanf("%d %d",&N,&M);
| ~~~~~^~~~~~~~~~~~~~~
del13.cpp:52:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
52 | for(i=0;i<M;i++) scanf("%d",&all[i]);
| ~~~~~^~~~~~~~~~~~~~