./Main.cpp: In function ‘int main()’:
./Main.cpp:11:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[16]’ [-Wformat=]
scanf(" %s", &inp);
^
./Main.cpp:8:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d %d", &m, &n);
^
./Main.cpp:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %s", &inp);
^