2014_ho_t1.cpp: In function 'int main()':
2014_ho_t1.cpp:41:22: warning: unused variable 't' [-Wunused-variable]
char t=str[i][j];
^
2014_ho_t1.cpp:20:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
~~~~~^~~~~~~~~~~~~~~~~
2014_ho_t1.cpp:21:33: 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", str[i]+1);
~~~~~^~~~~~~~~~~~~~~~
2014_ho_t1.cpp:22:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", arr[0]);
~~~~~^~~~~~~~~~~~~~
2014_ho_t1.cpp:23:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", arr[1]);
~~~~~^~~~~~~~~~~~~~