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_36700756_21374.cpp:71:1: error: 'curlasti' does not name a type
 curlasti=jlast&(1<<i)=0last&(1<<j)=0last | (1<<i)|(1<<j) = curcurDP[(1<<(2n)) - 1]
 ^
0_0_36700756_21374.cpp:98:8: error: redefinition of 'struct node'
 struct node
        ^
0_0_36700756_21374.cpp:9:8: error: previous definition of 'struct node'
 struct node
        ^
0_0_36700756_21374.cpp:101:4: error: invalid type in declaration before ',' token
 } o,s[50];
    ^
0_0_36700756_21374.cpp:101:4: error: conflicting declaration 'int o'
0_0_36700756_21374.cpp:12:2: note: previous declaration as 'node o'
 }o,s[maxn];
  ^
0_0_36700756_21374.cpp:101:9: error: conflicting declaration 'int s [50]'
 } o,s[50];
         ^
0_0_36700756_21374.cpp:12:4: note: previous declaration as 'node s [55]'
 }o,s[maxn];
    ^
0_0_36700756_21374.cpp:103:5: error: redefinition of 'int n'
 int n;
     ^
0_0_36700756_21374.cpp:13:5: note: 'int n' previously declared here
 int n;
     ^
0_0_36700756_21374.cpp:104:16: error: conflicting declaration 'double d [50][50]'
 double d[50][50],dp[(1<<20)+1],os[50];
                ^
0_0_36700756_21374.cpp:14:22: note: previous declaration as 'double d [55][55]'
 double dp[(1<<20)+5],d[maxn][maxn],os[maxn];
                      ^
0_0_36700756_21374.cpp:104:30: error: conflicting declaration 'double dp [1048577]'
 double d[50][50],dp[(1<<20)+1],os[50];
                              ^
0_0_36700756_21374.cpp:14:8: note: previous declaration as 'double dp [1048581]'
 double dp[(1<<20)+5],d[maxn][maxn],os[maxn];
        ^
0_0_36700756_21374.cpp:104:37: error: conflicting declaration 'double os [50]'
 double d[50][50],dp[(1<<20)+1],os[50];
                                     ^
0_0_36700756_21374.cpp:14:36: note: previous declaration as 'double os [55]'
 double dp[(1<<20)+5],d[maxn][maxn],os[maxn];
                                    ^
0_0_36700756_21374.cpp: In function 'double dis(node, node)':
0_0_36700756_21374.cpp:106:8: error: redefinition of 'double dis(node, node)'
 double dis(node a,node b)
        ^
0_0_36700756_21374.cpp:16:8: note: 'double dis(node, node)' previously defined here
 double dis(node a,node b)  
        ^
0_0_36700756_21374.cpp: In function 'int main()':
0_0_36700756_21374.cpp:136:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_36700756_21374.cpp:21:5: note: 'int main()' previously defined here
 int main()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 03:47:13, Gzip enabled