0_0_14681669_24123.cpp: In function 'int main()': 0_0_14681669_24123.cpp:98:27: error: invalid types 'char[int]' for array subscript if(mp[i][j] == '1')g[i-1][j-1] = val[i] ^ val[j]; ^