0_0_39286955_29707.cpp: In function 'void bfs(int)': 0_0_39286955_29707.cpp:31:49: error: no match for 'operator[]' (operand types are 'int [1010]' and 'std::vector<int>') 31 | vis[q[y][i]]=vis[q[y]]+1; | ^