0_0_17303150_5385.cpp: In function 'int main()': 0_0_17303150_5385.cpp:20:32: error: 'str' was not declared in this scope while(t1 >= 0 && t2 < n && str[t1][j] == str[i][t2]) { ^