kthpath.cpp: In function 'int main()':
kthpath.cpp:44:26: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld%lld", &n, &m);
^
kthpath.cpp:44:26: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
kthpath.cpp:47:24: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int' [-Wformat=]
scanf("%c", ch[i][j]);
^
kthpath.cpp:44:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &n, &m);
^
kthpath.cpp:47:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", ch[i][j]);
^