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_29306952_11748.c:16:1: error: unknown type name 'bool'
 bool visx[N], visy[N];
 ^
0_0_29306952_11748.c:18:1: error: unknown type name 'bool'
 bool Find(int x)
 ^
0_0_29306952_11748.c: In function 'Find':
0_0_29306952_11748.c:21:15: error: 'true' undeclared (first use in this function)
     visx[x] = true;
               ^
0_0_29306952_11748.c:21:15: note: each undeclared identifier is reported only once for each function it appears in
0_0_29306952_11748.c:35:12: error: 'false' undeclared (first use in this function)
     return false;
            ^
0_0_29306952_11748.c: In function 'KM':
0_0_29306952_11748.c:52:15: error: 'true' undeclared (first use in this function)
         while(true){
               ^
0_0_29306952_11748.c:53:26: error: 'false' undeclared (first use in this function)
             memset(visx, false, sizeof(visx));
                          ^
0_0_29306952_11748.c: In function 'main':
0_0_29306952_11748.c:75:5: error: unknown type name 'node'
     node s[N*N], t[N*N];
     ^
0_0_29306952_11748.c:82:26: error: request for member 'x' in something not a structure or union
                     s[l2].x = i;
                          ^
0_0_29306952_11748.c:83:28: error: request for member 'y' in something not a structure or union
                     s[l2++].y = j;
                            ^
0_0_29306952_11748.c:86:26: error: request for member 'x' in something not a structure or union
                     t[l1].x = i;
                          ^
0_0_29306952_11748.c:87:28: error: request for member 'y' in something not a structure or union
                     t[l1++].y = j;
                            ^
0_0_29306952_11748.c:95:38: error: request for member 'x' in something not a structure or union
                 e[i][j] = -(fabs(s[i].x-t[j].x) + fabs(s[i].y-t[j].y));
                                      ^
0_0_29306952_11748.c:95:45: error: request for member 'x' in something not a structure or union
                 e[i][j] = -(fabs(s[i].x-t[j].x) + fabs(s[i].y-t[j].y));
                                             ^
0_0_29306952_11748.c:95:60: error: request for member 'y' in something not a structure or union
                 e[i][j] = -(fabs(s[i].x-t[j].x) + fabs(s[i].y-t[j].y));
                                                            ^
0_0_29306952_11748.c:95:67: error: request for member 'y' in something not a structure or union
                 e[i][j] = -(fabs(s[i].x-t[j].x) + fabs(s[i].y-t[j].y));
                                                                   ^


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-10-26 21:31:39, Gzip enabled