0_0_19112327_2769.cpp: In function 'int main()': 0_0_19112327_2769.cpp:25:64: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(!(a[i-k][j]==a[i][j-k]||a[i]==a[i][j-k]-32)){ ^