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:10:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&arr[i]);
~~~~~^~~~~~~~~~~~~~~~~~
sushi.cpp:14:8: 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);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~