chocolate.cpp: In function 'int main()':
chocolate.cpp:53:14: warning: unused variable 'a' [-Wunused-variable]
char a,b,c;
^
chocolate.cpp:53:16: warning: unused variable 'b' [-Wunused-variable]
char a,b,c;
^
chocolate.cpp:53:18: warning: unused variable 'c' [-Wunused-variable]
char a,b,c;
^
chocolate.cpp:47:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&k);
~~~~~^~~~~~~~~~~~~~~~~~~~~
chocolate.cpp:48:32: 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("%d",&exp[i]);
~~~~~^~~~~~~~~~~~~~
chocolate.cpp:49:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=k;i++) scanf("%d %d",&cant[i].ff,&cant[i].ss);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
chocolate.cpp:50:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&e);
~~~~~^~~~~~~~~
chocolate.cpp:54:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" L + %d = %s",&num,res);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~