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_17022450_12214.cpp:3:1: error: 'usingnamespace' does not name a type
 usingnamespace std;
 ^
0_0_17022450_12214.cpp:28: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_17022450_12214.cpp: In function 'int ABS(int)':
0_0_17022450_12214.cpp:31:1: error: 'elsereturn' was not declared in this scope
 elsereturn x;
 ^
0_0_17022450_12214.cpp: In function 'int h(S)':
0_0_17022450_12214.cpp:39:22: error: 'pos' was not declared in this scope
             val+=ABS(pos[c][0]-i)+ABS(pos[c][1]-j);
                      ^
0_0_17022450_12214.cpp: In function 'bool dfs(int)':
0_0_17022450_12214.cpp:66:14: error: 'returntrue' was not declared in this scope
 if(h(ts)==0) returntrue;
              ^
0_0_17022450_12214.cpp:67:18: error: 'returnfalse' was not declared in this scope
 if(h(ts)+d>deep) returnfalse;
                  ^
0_0_17022450_12214.cpp:86:14: error: 'returntrue' was not declared in this scope
 if(dfs(d+1)) returntrue;
              ^
0_0_17022450_12214.cpp:92:1: error: 'returnfalse' was not declared in this scope
 returnfalse;
 ^
0_0_17022450_12214.cpp: At global scope:
0_0_17022450_12214.cpp:113:1: error: 'charin' does not name a type
 charin[100];
 ^
0_0_17022450_12214.cpp: In function 'int main()':
0_0_17022450_12214.cpp:115:12: error: 'in' was not declared in this scope
 while(gets(in)){
            ^
0_0_17022450_12214.cpp:134:17: error: 'elseif' was not declared in this scope
 elseif(ans[i]==1) putchar('r');
                 ^


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 19:49:19, Gzip enabled