popeala.cpp: In function 'int main()':
popeala.cpp:20:12: warning: unused variable 'l' [-Wunused-variable]
int i,j,k,l,a,b,c,d;
^
popeala.cpp:20:16: warning: unused variable 'b' [-Wunused-variable]
int i,j,k,l,a,b,c,d;
^
popeala.cpp:20:18: warning: unused variable 'c' [-Wunused-variable]
int i,j,k,l,a,b,c,d;
^
popeala.cpp:20:20: warning: unused variable 'd' [-Wunused-variable]
int i,j,k,l,a,b,c,d;
^
popeala.cpp:21:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&m,&n,&s);
~~~~~^~~~~~~~~~~~~~~~~~~
popeala.cpp:27:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%lld",&qs[i]), qs[i]+=qs[i-1];
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
popeala.cpp:29:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %s",str+1);
~~~~~^~~~~~~~~~~~~