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