sushi.cpp: In function 'int main()':
sushi.cpp:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&q);
~~~~~^~~~~~~~~~~~~~~~~
sushi.cpp:11:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&arr[i]);
~~~~~^~~~~~~~~~~~~~~~~~
sushi.cpp:15:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&s,&t,&p);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~
sushi.cpp:32:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&arr[i]);
~~~~~^~~~~~~~~~~~~~~~~~
sushi.cpp:37:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n",&s,&t,&p);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~