relativnost.cpp: In function 'int main()':
relativnost.cpp:17:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&n ,&c);
~~~~~^~~~~~~~~~~~~~~~~~~~
relativnost.cpp:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",a + i);
~~~~~^~~~~~~~~~~~~~
relativnost.cpp:21:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",b + i);
~~~~~^~~~~~~~~~~~~~
relativnost.cpp:23:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&q);
~~~~~^~~~~~~~~~~
relativnost.cpp:26:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld",&x ,&y ,&z);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~