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_4564999_15745.cpp:215: error: redefinition of `const typec INF'
0_0_4564999_15745.cpp:11: error: `const typec INF' previously defined here
0_0_4564999_15745.cpp:218: error: redefinition of `struct House'
0_0_4564999_15745.cpp:14: error: previous definition of `struct House'
0_0_4564999_15745.cpp:220: error: invalid type in declaration before ';' token
0_0_4564999_15745.cpp:220: error: conflicting declaration 'int houses[1010]'
0_0_4564999_15745.cpp:16: error: 'houses' has a previous declaration as `House houses[1010]'
0_0_4564999_15745.cpp:220: error: type mismatch with previous external decl of `int houses[1010]'
0_0_4564999_15745.cpp:16: error: previous external decl of `House houses[1010]'
0_0_4564999_15745.cpp:220: error: declaration of `int houses[1010]'
0_0_4564999_15745.cpp:16: error: conflicts with previous declaration `House houses[1010]'
0_0_4564999_15745.cpp:222: error: redefinition of `struct Arcs'
0_0_4564999_15745.cpp:18: error: previous definition of `struct Arcs'
0_0_4564999_15745.cpp:224: error: invalid type in declaration before ';' token
0_0_4564999_15745.cpp:224: error: conflicting declaration 'int arcs[1101010]'
0_0_4564999_15745.cpp:20: error: 'arcs' has a previous declaration as `Arcs arcs[1101010]'
0_0_4564999_15745.cpp:224: error: type mismatch with previous external decl of `int arcs[1101010]'
0_0_4564999_15745.cpp:20: error: previous external decl of `Arcs arcs[1101010]'
0_0_4564999_15745.cpp:224: error: declaration of `int arcs[1101010]'
0_0_4564999_15745.cpp:20: error: conflicts with previous declaration `Arcs arcs[1101010]'
0_0_4564999_15745.cpp:226: error: redefinition of `struct AdjNode'
0_0_4564999_15745.cpp:22: error: previous definition of `struct AdjNode'
0_0_4564999_15745.cpp:231: error: invalid type in declaration before ',' token
0_0_4564999_15745.cpp:231: error: conflicting declaration 'int*adj[1010]'
0_0_4564999_15745.cpp:27: error: 'adj' has a previous declaration as `AdjNode*adj[1010]'
0_0_4564999_15745.cpp:231: error: type mismatch with previous external decl of `int*adj[1010]'
0_0_4564999_15745.cpp:27: error: previous external decl of `AdjNode*adj[1010]'
0_0_4564999_15745.cpp:231: error: declaration of `int*adj[1010]'
0_0_4564999_15745.cpp:27: error: conflicts with previous declaration `AdjNode*adj[1010]'
0_0_4564999_15745.cpp:231: error: conflicting declaration 'int adjmem[1101010]'
0_0_4564999_15745.cpp:27: error: 'adjmem' has a previous declaration as `AdjNode adjmem[1101010]'
0_0_4564999_15745.cpp:231: error: type mismatch with previous external decl of `int adjmem[1101010]'
0_0_4564999_15745.cpp:27: error: previous external decl of `AdjNode adjmem[1101010]'
0_0_4564999_15745.cpp:231: error: declaration of `int adjmem[1101010]'
0_0_4564999_15745.cpp:27: error: conflicts with previous declaration `AdjNode adjmem[1101010]'
0_0_4564999_15745.cpp:233: error: redefinition of `int adjcnt'
0_0_4564999_15745.cpp:29: error: `int adjcnt' previously declared here
0_0_4564999_15745.cpp: In function `void init(int)':
0_0_4564999_15745.cpp:235: error: redefinition of `void init(int)'
0_0_4564999_15745.cpp:31: error: `void init(int)' previously defined here
0_0_4564999_15745.cpp: In function `void add_edge(int, int, typec)':
0_0_4564999_15745.cpp:240: error: redefinition of `void add_edge(int, int, typec)'
0_0_4564999_15745.cpp:36: error: `void add_edge(int, int, typec)' previously defined here
0_0_4564999_15745.cpp: At global scope:
0_0_4564999_15745.cpp:248: error: redefinition of `int pre[1010]'
0_0_4564999_15745.cpp:44: error: `int pre[1010]' previously declared here
0_0_4564999_15745.cpp:248: error: redefinition of `int real_pre[1010]'
0_0_4564999_15745.cpp:44: error: `int real_pre[1010]' previously declared here
0_0_4564999_15745.cpp:249: error: redefinition of `bool is_out[1010]'
0_0_4564999_15745.cpp:45: error: `bool is_out[1010]' previously declared here
0_0_4564999_15745.cpp:250: error: redefinition of `int vis[1010]'
0_0_4564999_15745.cpp:46: error: `int vis[1010]' previously declared here
0_0_4564999_15745.cpp:250: error: redefinition of `int vcnt'
0_0_4564999_15745.cpp:46: error: `int vcnt' previously declared here
0_0_4564999_15745.cpp: In function `typec solve(int, int)':
0_0_4564999_15745.cpp:252: error: redefinition of `typec solve(int, int)'
0_0_4564999_15745.cpp:48: error: `typec solve(int, int)' previously defined here
0_0_4564999_15745.cpp:253: confused by earlier errors, bailing out


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-10-31 23:34:12, Gzip enabled