0_0_23796714_13078.cpp:11:27: error: scalar object 'dir' requires one element in initializer int dir={1,0,0,1,-1,0,0,-1}; ^