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_29476069_24501.cpp:3:1: error: 'usingnamespace' does not name a type
 usingnamespace std;
 ^
0_0_29476069_24501.cpp:4:1: error: 'constint' does not name a type
 constint dx[] = {-1,0,1,0};
 ^
0_0_29476069_24501.cpp:5:1: error: 'constint' does not name a type
 constint dy[] = {0,1,0,-1};
 ^
0_0_29476069_24501.cpp:6:1: error: 'constint' does not name a type
 constint stepx[] = {0,-1,-1,0,1,1};
 ^
0_0_29476069_24501.cpp:7:1: error: 'constint' does not name a type
 constint stepy[] = {-2,-1,1,2,1,-1};
 ^
0_0_29476069_24501.cpp: In function 'bool checkDeg()':
0_0_29476069_24501.cpp:24:14: error: 'dx' was not declared in this scope
 int nx = i + dx[k];
              ^
0_0_29476069_24501.cpp:25:14: error: 'dy' was not declared in this scope
 int ny = j + dy[k];
              ^
0_0_29476069_24501.cpp:30:1: error: 'returnfalse' was not declared in this scope
 returnfalse;
 ^
0_0_29476069_24501.cpp:32:1: error: 'returntrue' was not declared in this scope
 returntrue;
 ^
0_0_29476069_24501.cpp: In function 'bool checkNum()':
0_0_29476069_24501.cpp:43:14: error: 'dx' was not declared in this scope
 int nx = i + dx[k];
              ^
0_0_29476069_24501.cpp:44:14: error: 'dy' was not declared in this scope
 int ny = j + dy[k];
              ^
0_0_29476069_24501.cpp:49:1: error: 'returnfalse' was not declared in this scope
 returnfalse;
 ^
0_0_29476069_24501.cpp:51:1: error: 'returntrue' was not declared in this scope
 returntrue;
 ^
0_0_29476069_24501.cpp: In function 'void DFS(int, int)':
0_0_29476069_24501.cpp:60:14: error: 'stepx' was not declared in this scope
 int nx = x + stepx[i];
              ^
0_0_29476069_24501.cpp:61:14: error: 'stepy' was not declared in this scope
 int ny = y + stepy[i];
              ^
0_0_29476069_24501.cpp:67:14: error: 'stepy' was not declared in this scope
 int nx = x + stepy[i];
              ^
0_0_29476069_24501.cpp:68:14: error: 'stepx' was not declared in this scope
 int ny = y + stepx[i];
              ^
0_0_29476069_24501.cpp: In function 'bool checkConn()':
0_0_29476069_24501.cpp:77:33: error: 'memset' was not declared in this scope
     memset(vis,false,sizeof(vis));
                                 ^
0_0_29476069_24501.cpp:85:8: error: 'returnfalse' was not declared in this scope
 if(ok) returnfalse;
        ^
0_0_29476069_24501.cpp:89:1: error: 'returnfalse' was not declared in this scope
 returnfalse;
 ^
0_0_29476069_24501.cpp:90:1: error: 'returntrue' was not declared in this scope
 returntrue;
 ^
0_0_29476069_24501.cpp: In function 'int main()':
0_0_29476069_24501.cpp:106:1: error: 'return0' was not declared in this scope
 return0;
 ^


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-26 23:08:36, Gzip enabled