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_37472630_4941.cpp:101:11: error: conflicting declaration 'const ll N'
 const int N=65;
           ^
0_0_37472630_4941.cpp:3:11: note: previous declaration as 'const int N'
 const int N=65;
           ^
0_0_37472630_4941.cpp:102:11: error: conflicting declaration 'const ll mod'
 const int mod=1e9+7;
           ^
0_0_37472630_4941.cpp:4:11: note: previous declaration as 'const int mod'
 const int mod=1e9+7;
           ^
0_0_37472630_4941.cpp: In function 'll read()':
0_0_37472630_4941.cpp:113:12: error: redefinition of 'll read()'
 inline int read()
            ^
0_0_37472630_4941.cpp:15:12: note: 'll read()' previously defined here
 inline int read()
            ^
0_0_37472630_4941.cpp: In function 'void write(ll)':
0_0_37472630_4941.cpp:121:13: error: redefinition of 'void write(ll)'
 inline void write(int x){
             ^
0_0_37472630_4941.cpp:23:13: note: 'void write(ll)' previously defined here
 inline void write(int x){
             ^
0_0_37472630_4941.cpp: At global scope:
0_0_37472630_4941.cpp:126:10: error: redefinition of 'll pre [65]'
 int pre[N];
          ^
0_0_37472630_4941.cpp:28:5: note: 'll pre [65]' previously declared here
 int pre[N];
     ^
0_0_37472630_4941.cpp:127:8: error: redefinition of 'll h [65]'
 int h[N], e[N], ne[N], idx,w[N];
        ^
0_0_37472630_4941.cpp:29:5: note: 'll h [65]' previously declared here
 int h[N], e[N], ne[N], idx,w[N];
     ^
0_0_37472630_4941.cpp:127:14: error: redefinition of 'll e [65]'
 int h[N], e[N], ne[N], idx,w[N];
              ^
0_0_37472630_4941.cpp:29:11: note: 'll e [65]' previously declared here
 int h[N], e[N], ne[N], idx,w[N];
           ^
0_0_37472630_4941.cpp:127:21: error: redefinition of 'll ne [65]'
 int h[N], e[N], ne[N], idx,w[N];
                     ^
0_0_37472630_4941.cpp:29:17: note: 'll ne [65]' previously declared here
 int h[N], e[N], ne[N], idx,w[N];
                 ^
0_0_37472630_4941.cpp:127:24: error: redefinition of 'll idx'
 int h[N], e[N], ne[N], idx,w[N];
                        ^
0_0_37472630_4941.cpp:29:24: note: 'll idx' previously declared here
 int h[N], e[N], ne[N], idx,w[N];
                        ^
0_0_37472630_4941.cpp:127:31: error: redefinition of 'll w [65]'
 int h[N], e[N], ne[N], idx,w[N];
                               ^
0_0_37472630_4941.cpp:29:28: note: 'll w [65]' previously declared here
 int h[N], e[N], ne[N], idx,w[N];
                            ^
0_0_37472630_4941.cpp:128:11: error: redefinition of 'll dist [65]'
 int dist[N];
           ^
0_0_37472630_4941.cpp:30:5: note: 'll dist [65]' previously declared here
 int dist[N];
     ^
0_0_37472630_4941.cpp:129:10: error: redefinition of 'bool st [65]'
 bool st[N];
          ^
0_0_37472630_4941.cpp:31:6: note: 'bool st [65]' previously declared here
 bool st[N];
      ^
0_0_37472630_4941.cpp: In function 'void add(ll, ll, ll)':
0_0_37472630_4941.cpp:130:6: error: redefinition of 'void add(ll, ll, ll)'
 void add(int a, int b,int c)
      ^
0_0_37472630_4941.cpp:32:6: note: 'void add(ll, ll, ll)' previously defined here
 void add(int a, int b,int c)
      ^
0_0_37472630_4941.cpp: At global scope:
0_0_37472630_4941.cpp:134:16: error: redefinition of 'std::vector<std::pair<long long int, long long int> > vt [65]'
 vector<PII>vt[N]; 
                ^
0_0_37472630_4941.cpp:36:12: note: 'std::vector<std::pair<long long int, long long int> > vt [65]' previously declared here
 vector<PII>vt[N]; 
            ^
0_0_37472630_4941.cpp: In function 'void dijktra1(ll)':
0_0_37472630_4941.cpp:135:6: error: redefinition of 'void dijktra1(ll)'
 void dijktra1(int a){
      ^
0_0_37472630_4941.cpp:37:6: note: 'void dijktra1(ll)' previously defined here
 void dijktra1(int a){
      ^
0_0_37472630_4941.cpp: In function 'int main()':
0_0_37472630_4941.cpp:165:8: error: redefinition of 'int main()'
 signed main(){
        ^
0_0_37472630_4941.cpp:67:8: note: 'int main()' previously defined here
 signed 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-11-22 23:33:09, Gzip enabled