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_33636116_11763.cpp:82:13: error: conflicting declaration 'NODE e [400010]'
 } e[maxn * 2];
             ^
0_0_33636116_11763.cpp:58:11: note: previous declaration as 'int e'
 int n,m,s,e,tot,head[maxn];
           ^
0_0_33636116_11763.cpp: In function 'void add(int, int, int)':
0_0_33636116_11763.cpp:85:12: error: invalid types 'int[int]' for array subscript
     e[++tot] = {v, w, head[u]};
            ^
0_0_33636116_11763.cpp: In function 'void Dijkstra()':
0_0_33636116_11763.cpp:109:36: error: invalid types 'int[int]' for array subscript
         for(int i=head[p.v];i;i=e[i].nxt){
                                    ^
0_0_33636116_11763.cpp:110:22: error: invalid types 'int[int]' for array subscript
             int v=e[i].to;
                      ^
0_0_33636116_11763.cpp:111:22: error: invalid types 'int[int]' for array subscript
             int w=e[i].val;
                      ^


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-22 20:27:07, Gzip enabled