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_34748662_2789.cpp: In function 'void dfs(int, int, int, int)':
0_0_34748662_2789.cpp:7:17: error: 'l' was not declared in this scope
         int v = l[d][i];
                 ^
0_0_34748662_2789.cpp:9:28: error: expected primary-expression before '=' token
         for(int j = 1; j < =an; j ++) y[d + 1][j] = y[d][j];
                            ^
0_0_34748662_2789.cpp:9:29: error: 'an' was not declared in this scope
         for(int j = 1; j < =an; j ++) y[d + 1][j] = y[d][j];
                             ^
0_0_34748662_2789.cpp:9:39: error: 'y' was not declared in this scope
         for(int j = 1; j < =an; j ++) y[d + 1][j] = y[d][j];
                                       ^
0_0_34748662_2789.cpp:10:9: error: 'y' was not declared in this scope
         y[d + 1][ny] = v;
         ^
0_0_34748662_2789.cpp:11:28: error: expected primary-expression before '=' token
         for(int j = 1; j < =nl; j ++)if(g[v][l[d][j]]) l[d + 1][tnl ++] = l[d][j];
                            ^
0_0_34748662_2789.cpp:11:41: error: 'g' was not declared in this scope
         for(int j = 1; j < =nl; j ++)if(g[v][l[d][j]]) l[d + 1][tnl ++] = l[d][j];
                                         ^
0_0_34748662_2789.cpp:12:28: error: expected primary-expression before '=' token
         for(int j = 1; j < =nn; j ++) if(g[v][n[d][j]]) n[d + 1][tnn ++] = n[d][j];
                            ^
0_0_34748662_2789.cpp:12:42: error: 'g' was not declared in this scope
         for(int j = 1; j < =nn; j ++) if(g[v][n[d][j]]) n[d + 1][tnn ++] = n[d][j];
                                          ^
0_0_34748662_2789.cpp:12:47: error: 'n' was not declared in this scope
         for(int j = 1; j < =nn; j ++) if(g[v][n[d][j]]) n[d + 1][tnn ++] = n[d][j];
                                               ^
0_0_34748662_2789.cpp:15:22: error: 'n' was not declared in this scope
         l[d][i] = 0, n[d][nn ++] = v;
                      ^


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-22 16:27:16, Gzip enabled