0_0_17022471_3117.cpp:3:1: error: 'usingnamespace' does not name a type
usingnamespace std;
^
0_0_17022471_3117.cpp:70:1: error: 'constint' does not name a type
constint pos[][2]={{0,0},{0,1},{0,2},{1,0},{1,1},{1,2},{2,0},{2,1},{2,2}};
^
0_0_17022471_3117.cpp: In function 'int ABS(int)':
0_0_17022471_3117.cpp:73:1: error: 'elsereturn' was not declared in this scope
elsereturn x;
^
0_0_17022471_3117.cpp: In function 'int h()':
0_0_17022471_3117.cpp:80:22: error: 'pos' was not declared in this scope
val+=ABS(pos[c][0]-i)+ABS(pos[c][1]-j);
^
0_0_17022471_3117.cpp: In function 'bool dfs(int)':
0_0_17022471_3117.cpp:89:12: error: 'returntrue' was not declared in this scope
if(h()==0) returntrue;
^
0_0_17022471_3117.cpp:90:22: error: 'returnfalse' was not declared in this scope
if((h()+3)/4+d>deep) returnfalse;
^
0_0_17022471_3117.cpp:92:14: error: 'returntrue' was not declared in this scope
if(dfs(d+1)) returntrue;
^
0_0_17022471_3117.cpp:95:14: error: 'returntrue' was not declared in this scope
if(dfs(d+1)) returntrue;
^
0_0_17022471_3117.cpp:99:14: error: 'returntrue' was not declared in this scope
if(dfs(d+1)) returntrue;
^
0_0_17022471_3117.cpp:102:14: error: 'returntrue' was not declared in this scope
if(dfs(d+1)) returntrue;
^
0_0_17022471_3117.cpp:106:14: error: 'returntrue' was not declared in this scope
if(dfs(d+1)) returntrue;
^
0_0_17022471_3117.cpp:109:14: error: 'returntrue' was not declared in this scope
if(dfs(d+1)) returntrue;
^
0_0_17022471_3117.cpp:113:14: error: 'returntrue' was not declared in this scope
if(dfs(d+1)) returntrue;
^
0_0_17022471_3117.cpp:116:14: error: 'returntrue' was not declared in this scope
if(dfs(d+1)) returntrue;
^
0_0_17022471_3117.cpp:119:1: error: 'returnfalse' was not declared in this scope
returnfalse;
^
|