semiexpress.cpp: In function 'int main()':
semiexpress.cpp:83:21: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(i=M;i<K&&i-M<how.size();i++) ans+=how[i];
| ~~~^~~~~~~~~~~
semiexpress.cpp:22:27: warning: unused variable 'x' [-Wunused-variable]
22 | long long N,M,K,a,b,c,x,y,z,t,ans=0,con=0,now=0,i,ttt=0;
| ^
semiexpress.cpp:22:29: warning: unused variable 'y' [-Wunused-variable]
22 | long long N,M,K,a,b,c,x,y,z,t,ans=0,con=0,now=0,i,ttt=0;
| ^
semiexpress.cpp:22:31: warning: unused variable 'z' [-Wunused-variable]
22 | long long N,M,K,a,b,c,x,y,z,t,ans=0,con=0,now=0,i,ttt=0;
| ^
semiexpress.cpp:22:41: warning: variable 'con' set but not used [-Wunused-but-set-variable]
22 | long long N,M,K,a,b,c,x,y,z,t,ans=0,con=0,now=0,i,ttt=0;
| ^~~
semiexpress.cpp:22:47: warning: unused variable 'now' [-Wunused-variable]
22 | long long N,M,K,a,b,c,x,y,z,t,ans=0,con=0,now=0,i,ttt=0;
| ^~~
semiexpress.cpp:23:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
23 | scanf("%lld %lld %lld",&N,&M,&K);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
semiexpress.cpp:24:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
24 | scanf("%lld %lld %lld",&a,&b,&c);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
semiexpress.cpp:25:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
25 | scanf("%lld",&t);
| ~~~~~^~~~~~~~~~~
semiexpress.cpp:28:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
28 | scanf("%lld",&all[i]);
| ~~~~~^~~~~~~~~~~~~~~~