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_23804021_6000.cpp:101:8: error: conflicting declaration 'RNode p [200000]'
 }p[maxE];
        ^
0_0_23804021_6000.cpp:27:14: note: previous declaration as 'int p'
 int s, t, nv,p,head1,tail,Q[maxE];
              ^
0_0_23804021_6000.cpp: In function 'int main()':
0_0_23804021_6000.cpp:128:16: error: invalid types 'int[int]' for array subscript
             p[i]=RNode(u,v,c,d);
                ^
0_0_23804021_6000.cpp:135:19: error: invalid types 'int[int]' for array subscript
            add(p[i].u,p[i].v, p[i].c+1);
                   ^
0_0_23804021_6000.cpp:135:26: error: invalid types 'int[int]' for array subscript
            add(p[i].u,p[i].v, p[i].c+1);
                          ^
0_0_23804021_6000.cpp:135:34: error: invalid types 'int[int]' for array subscript
            add(p[i].u,p[i].v, p[i].c+1);
                                  ^
0_0_23804021_6000.cpp:136:18: error: invalid types 'int[int]' for array subscript
            if(p[i].d)
                  ^
0_0_23804021_6000.cpp:137:23: error: invalid types 'int[int]' for array subscript
                add(p[i].v,p[i].u,p[i].c+1);
                       ^
0_0_23804021_6000.cpp:137:30: error: invalid types 'int[int]' for array subscript
                add(p[i].v,p[i].u,p[i].c+1);
                              ^
0_0_23804021_6000.cpp:137:37: error: invalid types 'int[int]' for array subscript
                add(p[i].v,p[i].u,p[i].c+1);
                                     ^


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 10:02:13, Gzip enabled