0_0_23344856_11017.cpp: In function 'int main()': 0_0_23344856_11017.cpp:101:22: error: invalid types 'int[int]' for array subscript z[x[j].ed-1[k-1]='N'; ^ 0_0_23344856_11017.cpp:101:27: error: expected ']' before ';' token z[x[j].ed-1[k-1]='N'; ^