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_26521504_4329.cpp:5:11: error: size of array 'a' is not an integral constant-expression
 int a[maxn],b[maxn];
           ^
0_0_26521504_4329.cpp:5:19: error: size of array 'b' is not an integral constant-expression
 int a[maxn],b[maxn];
                   ^
0_0_26521504_4329.cpp:6:22: error: size of array 'edge' is not an integral constant-expression
 vector<int> edge[maxn];
                      ^
0_0_26521504_4329.cpp: In function 'void dfs(int, int)':
0_0_26521504_4329.cpp:15:18: error: 'k' was not declared in this scope
         if(a[v]>=k&&n-a[v]>=k)
                  ^
0_0_26521504_4329.cpp:15:21: error: 'n' was not declared in this scope
         if(a[v]>=k&&n-a[v]>=k)
                     ^


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-12-04 23:36:01, Gzip enabled