/in/foo.cc: In function 'void dfs(int, int, int, int)':
/in/foo.cc:145:6: warning: operation on 'move' may be undefined [-Wsequence-point]
X[++move]=Y[move]=Dir[move]=0;
^~~~~~
/in/foo.cc:156:4: warning: operation on 'move' may be undefined [-Wsequence-point]
X[++move]=Y[move]=Dir[move]=0;
^~~~~~
/in/foo.cc: In function 'bool Del()':
/in/foo.cc:51:8: warning: 'void* memset(void*, int, size_t)' writing 140 bytes into a region of size 35 overflows the destination [-Wstringop-overflow=]
memset(nde,0,sizeof(nd));
~~~~~~^~~~~~~~~~~~~~~~~~