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_17516426_1871.cpp:93:11: error: 'maxn' was not declared in this scope
 bool book[maxn];
           ^
0_0_17516426_1871.cpp:94:10: error: 'maxn' was not declared in this scope
 bool all[maxn];
          ^
0_0_17516426_1871.cpp: In function 'bool DFS(int, int)':
0_0_17516426_1871.cpp:96:5: error: 'book' was not declared in this scope
     book[u] = 1;
     ^
0_0_17516426_1871.cpp:97:5: error: 'all' was not declared in this scope
     all[u] = 1;
     ^
0_0_17516426_1871.cpp: At global scope:
0_0_17516426_1871.cpp:107:10: error: 'maxn' was not declared in this scope
 int path[maxn][maxn];
          ^
0_0_17516426_1871.cpp:107:16: error: 'maxn' was not declared in this scope
 int path[maxn][maxn];
                ^
0_0_17516426_1871.cpp: In function 'void ini()':
0_0_17516426_1871.cpp:111:9: error: 'book' was not declared in this scope
     CLR(book, 0);
         ^
0_0_17516426_1871.cpp:33:26: note: in definition of macro 'CLR'
 #define CLR(a, b) memset(a, b, sizeof(a))
                          ^
0_0_17516426_1871.cpp: In function 'int main()':
0_0_17516426_1871.cpp:138:17: error: 'all' was not declared in this scope
             CLR(all, 0);
                 ^
0_0_17516426_1871.cpp:33:26: note: in definition of macro 'CLR'
 #define CLR(a, b) memset(a, b, sizeof(a))
                          ^
0_0_17516426_1871.cpp:153:29: error: 'path' was not declared in this scope
                             path[x][v - n] = K - es[i].w;
                             ^
0_0_17516426_1871.cpp:157:66: error: 'path' was not declared in this scope
                 REP(x, 1, n + 1) REP(y, 1, m + 1) printf("%d%c", path[x][y], y == m ? '\n' : ' ');
                                                                  ^


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-17 07:47:16, Gzip enabled