examination.cpp: In function 'int main()':
examination.cpp:20:14: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
20 | ans += (x <= a[i] & y <= b[i] & z <= a[i]+b[i]);
| ~~^~~~~~~
examination.cpp:20:38: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
20 | ans += (x <= a[i] & y <= b[i] & z <= a[i]+b[i]);
| ~~^~~~~~~~~~~~
examination.cpp:13:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d %d" , &n , &q);
| ~~~~~^~~~~~~~~~~~~~~~~~~
examination.cpp:15:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d %d" , &a[i] , &b[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
examination.cpp:18:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | scanf("%d %d %d" , &x , &y , &z);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~