F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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;
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-16 21:43:05, Gzip enabled