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_33876850_21945.cpp:101:11: error: redefinition of 'const int N'
 const int N = 8e4 + 6, M = 1e9 + 7;
           ^
0_0_33876850_21945.cpp:23:11: note: 'const int N' previously defined here
 const int N = 4e4 + 6, M = 1e9 + 7;
           ^
0_0_33876850_21945.cpp:101:24: error: redefinition of 'const int M'
 const int N = 8e4 + 6, M = 1e9 + 7;
                        ^
0_0_33876850_21945.cpp:23:24: note: 'const int M' previously defined here
 const int N = 4e4 + 6, M = 1e9 + 7;
                        ^
0_0_33876850_21945.cpp:103:11: error: redefinition of 'int head [40006]'
 int head[N], Next[N], ver[N], 
           ^
0_0_33876850_21945.cpp:26:5: note: 'int head [40006]' previously declared here
 int head[N], Next[N << 1], ver[N << 1], edge[N << 1], tot;
     ^
0_0_33876850_21945.cpp:103:20: error: conflicting declaration 'int Next [40006]'
 int head[N], Next[N], ver[N], 
                    ^
0_0_33876850_21945.cpp:26:14: note: previous declaration as 'int Next [80012]'
 int head[N], Next[N << 1], ver[N << 1], edge[N << 1], tot;
              ^
0_0_33876850_21945.cpp:103:28: error: conflicting declaration 'int ver [40006]'
 int head[N], Next[N], ver[N], 
                            ^
0_0_33876850_21945.cpp:26:28: note: previous declaration as 'int ver [80012]'
 int head[N], Next[N << 1], ver[N << 1], edge[N << 1], tot;
                            ^
0_0_33876850_21945.cpp:105:1: error: expected unqualified-id before 'int'
 int main() {
 ^


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-12-02 19:11:11, Gzip enabled