plan.cpp: In function 'int main()':
plan.cpp:16:19: warning: unused variable 'j' [-Wunused-variable]
16 | int N,M,K,Q,i,j,k,a,b,c,d,t;
| ^
plan.cpp:16:21: warning: unused variable 'k' [-Wunused-variable]
16 | int N,M,K,Q,i,j,k,a,b,c,d,t;
| ^
plan.cpp:17:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
17 | scanf("%d %d",&N,&M);
| ~~~~~^~~~~~~~~~~~~~~
plan.cpp:20:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
20 | scanf("%d %d %d",&a,&b,&c);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
plan.cpp:24:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
24 | scanf("%d",&K);
| ~~~~~^~~~~~~~~
plan.cpp:27:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
27 | scanf("%d",&t);
| ~~~~~^~~~~~~~~
plan.cpp:41:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
41 | scanf("%d",&Q);
| ~~~~~^~~~~~~~~
plan.cpp:44:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
44 | scanf("%d %d",&c,&d);
| ~~~~~^~~~~~~~~~~~~~~