kthpath.cpp: In function 'int main()':
kthpath.cpp:45:13: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
45 | for (auto [r, c] : lvl[i]) {
| ^
kthpath.cpp:54:14: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
54 | for (auto [r, k] : lvl[i])
| ^
kthpath.cpp:34:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
34 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
kthpath.cpp:36:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
36 | scanf("%s", s[i] + 1);
| ~~~~~^~~~~~~~~~~~~~~~
kthpath.cpp:40:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
40 | scanf("%lld", &k);
| ~~~~~^~~~~~~~~~~~