Compiler output
prog.cpp: In function 'int main()':
prog.cpp:29:45: error: 'strlen' was not declared in this scope
for (int j = 0; j < strlen(qwerty[i]); j++)
^
prog.cpp:30:30: warning: array subscript has type 'char' [-Wchar-subscripts]
keys[qwerty[i][j]] = make_pair(i, j);
^
prog.cpp:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < input.size(); i++) {
^
prog.cpp:38:29: warning: array subscript has type 'char' [-Wchar-subscripts]
point to = keys[next];
^