semiexpress.cpp: In function 'int main()':
semiexpress.cpp:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld",&n,&m,&k);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
semiexpress.cpp:10:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld",&A,&B,&C);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
semiexpress.cpp:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&T);
~~~~~^~~~~~~~~~~
semiexpress.cpp:13:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=m;i++) scanf("%lld",&s[i]),semi[i]=s[i];
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~