dragon2.cpp: In function 'int main()':
dragon2.cpp:20:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
20 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
dragon2.cpp:23:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
23 | scanf("%lld%lld%d",&a.x,&a.y,&t);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
dragon2.cpp:26:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
26 | scanf("%lld%lld%lld%lld%d",&a.x,&a.y,&b.x,&b.y,&q);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dragon2.cpp:28:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
28 | scanf("%d%d",&x,&y);
| ~~~~~^~~~~~~~~~~~~~