0_0_30109217_29621.cpp: In function 'int main()': 0_0_30109217_29621.cpp:54:16: error: no match for 'operator[]' (operand types are 'int [1234]' and 'node') if(a[s[i].x][s[i]]) continue; ^