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_37690537_11617.cpp:9:15: error: expected primary-expression before '=' token
 const int N = =1e6 + 10;
               ^
0_0_37690537_11617.cpp:11:8: error: size of array 'e' is not an integral constant-expression
 int e[N], ne[N], h[N], idx;
        ^
0_0_37690537_11617.cpp:11:15: error: size of array 'ne' is not an integral constant-expression
 int e[N], ne[N], h[N], idx;
               ^
0_0_37690537_11617.cpp:11:21: error: size of array 'h' is not an integral constant-expression
 int e[N], ne[N], h[N], idx;
                     ^
0_0_37690537_11617.cpp:12:11: error: size of array 'w' is not an integral constant-expression
 double w[N], dist[N];
           ^
0_0_37690537_11617.cpp:12:20: error: size of array 'dist' is not an integral constant-expression
 double w[N], dist[N];
                    ^
0_0_37690537_11617.cpp:13:11: error: size of array 'cnt' is not an integral constant-expression
 int  cnt[N];
           ^
0_0_37690537_11617.cpp:14:11: error: size of array 'vis' is not an integral constant-expression
 bool vis[N];
           ^


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-23 09:00:53, Gzip enabled