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_38519774_1158.cpp:6:13: error: 'N2' was not declared in this scope
 int h[N],ne[N2*],cnt,color[N],e[2*N],n,m;
             ^
0_0_38519774_1158.cpp:6:16: error: expected primary-expression before ']' token
 int h[N],ne[N2*],cnt,color[N],e[2*N],n,m;
                ^
0_0_38519774_1158.cpp: In function 'bool dfs(int, int)':
0_0_38519774_1158.cpp:11:25: error: 'ne' was not declared in this scope
  for(int i = h[u];i;i = ne[i]){
                         ^
0_0_38519774_1158.cpp: In function 'int main()':
0_0_38519774_1158.cpp:50:9: error: 'ne' was not declared in this scope
  memset(ne,0,sizeof(ne));
         ^


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 06:10:53, Gzip enabled