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