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_36398312_22413.cpp:15:17: error: size of array 'val' has non-integral type 'double'
 int n,q,val[maxn],cnt,head[maxn],S,Size[maxn],f[maxn]= {0x3f3f3f3f},root;
                 ^
0_0_36398312_22413.cpp:15:32: error: size of array 'head' has non-integral type 'double'
 int n,q,val[maxn],cnt,head[maxn],S,Size[maxn],f[maxn]= {0x3f3f3f3f},root;
                                ^
0_0_36398312_22413.cpp:15:45: error: size of array 'Size' has non-integral type 'double'
 int n,q,val[maxn],cnt,head[maxn],S,Size[maxn],f[maxn]= {0x3f3f3f3f},root;
                                             ^
0_0_36398312_22413.cpp:15:53: error: size of array 'f' has non-integral type 'double'
 int n,q,val[maxn],cnt,head[maxn],S,Size[maxn],f[maxn]= {0x3f3f3f3f},root;
                                                     ^
0_0_36398312_22413.cpp:16:18: error: size of array 'dis' has non-integral type 'double'
 int dis[121][maxn],tot,id[maxn],F[maxn],cur[maxn],ans;//
                  ^
0_0_36398312_22413.cpp:16:31: error: size of array 'id' has non-integral type 'double'
 int dis[121][maxn],tot,id[maxn],F[maxn],cur[maxn],ans;//
                               ^
0_0_36398312_22413.cpp:16:39: error: size of array 'F' has non-integral type 'double'
 int dis[121][maxn],tot,id[maxn],F[maxn],cur[maxn],ans;//
                                       ^
0_0_36398312_22413.cpp:16:49: error: size of array 'cur' has non-integral type 'double'
 int dis[121][maxn],tot,id[maxn],F[maxn],cur[maxn],ans;//
                                                 ^
0_0_36398312_22413.cpp:17:14: error: size of array 'vis' has non-integral type 'double'
 bool vis[maxn];
              ^
0_0_36398312_22413.cpp:43:14: error: size of array 'C' has non-integral type 'double'
 } C[4*maxn][2];//只需要两个树状数组,当前重心和上一重心
              ^
0_0_36398312_22413.cpp:46:11: error: size of array 'e' has non-integral type 'double'
 } e[maxn*2];
           ^


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-06-17 23:55:18, Gzip enabled