examination.cpp: In function 'int main()':
examination.cpp:8:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d" , &n , &q) ;
~~~~~^~~~~~~~~~~~~~~~~~~
examination.cpp:11:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d" , &a[i] , &b[i]) ;
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
examination.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d" , &x , &y , &z) ;
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~