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_25296156_24144.cpp:11:11: error: size of array 'edge' has non-integral type 'double'
 }edge[maxm];
           ^
0_0_25296156_24144.cpp:12:14: error: size of array 'head' has non-integral type 'double'
 int head[maxn],cnt;
              ^
0_0_25296156_24144.cpp:13:13: error: size of array 'ans' has non-integral type 'double'
 int ans[maxm];
             ^
0_0_25296156_24144.cpp:14:13: error: size of array 'vis' has non-integral type 'double'
 int vis[maxm];
             ^
0_0_25296156_24144.cpp:15:13: error: size of array 'sum' has non-integral type 'double'
 int sum[maxn];
             ^
0_0_25296156_24144.cpp:16:14: error: size of array 'd' has non-integral type 'double'
 int d[maxn][2];
              ^
0_0_25296156_24144.cpp: In function 'void init()':
0_0_25296156_24144.cpp:25:29: error: 'memset' was not declared in this scope
  memset(head,-1,sizeof(head));
                             ^
0_0_25296156_24144.cpp: In function 'void dfs(int, int)':
0_0_25296156_24144.cpp:34:38: error: expected ';' before ')' token
  for(i = head[u],i!=-1;i=edge[i].next){
                                      ^


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 05:25:27, Gzip enabled