2014_ho_t1.cpp: In function 'int main()':
2014_ho_t1.cpp:29:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i",&n,&m);
~~~~~^~~~~~~~~~~~~~~
2014_ho_t1.cpp:30:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%s",flag[i]+1);
~~~~~^~~~~~~~~~~~~~~~
2014_ho_t1.cpp:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s",emblem[0],emblem[1]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~