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_29822884_11938.cpp:186:10: error: redefinition of 'const ll N'
 const ll N=1e4+5;
          ^
0_0_29822884_11938.cpp:4:10: note: 'const ll N' previously defined here
 const ll N=1e4+5;
          ^
0_0_29822884_11938.cpp:188:10: error: redefinition of 'll head [10005]'
 ll head[N],head2[N],cnt1,cnt2;
          ^
0_0_29822884_11938.cpp:6:4: note: 'll head [10005]' previously declared here
 ll head[N],head2[N],cnt1,cnt2;
    ^
0_0_29822884_11938.cpp:188:19: error: redefinition of 'll head2 [10005]'
 ll head[N],head2[N],cnt1,cnt2;
                   ^
0_0_29822884_11938.cpp:6:12: note: 'll head2 [10005]' previously declared here
 ll head[N],head2[N],cnt1,cnt2;
            ^
0_0_29822884_11938.cpp:188:21: error: redefinition of 'll cnt1'
 ll head[N],head2[N],cnt1,cnt2;
                     ^
0_0_29822884_11938.cpp:6:21: note: 'll cnt1' previously declared here
 ll head[N],head2[N],cnt1,cnt2;
                     ^
0_0_29822884_11938.cpp:188:26: error: redefinition of 'll cnt2'
 ll head[N],head2[N],cnt1,cnt2;
                          ^
0_0_29822884_11938.cpp:6:26: note: 'll cnt2' previously declared here
 ll head[N],head2[N],cnt1,cnt2;
                          ^
0_0_29822884_11938.cpp:189:21: error: redefinition of 'std::map<std::pair<long long int, long long int>, long long int> mp'
 map<pair<ll,ll>, ll>mp;
                     ^
0_0_29822884_11938.cpp:7:21: note: 'std::map<std::pair<long long int, long long int>, long long int> mp' previously declared here
 map<pair<ll,ll>, ll>mp;
                     ^
0_0_29822884_11938.cpp:190:8: error: redefinition of 'struct ed'
 struct ed{
        ^
0_0_29822884_11938.cpp:8:8: error: previous definition of 'struct ed'
 struct ed{
        ^
0_0_29822884_11938.cpp:192:6: error: invalid type in declaration before ',' token
 }e[N],ef[N];
      ^
0_0_29822884_11938.cpp:192:6: error: conflicting declaration 'int e [10005]'
0_0_29822884_11938.cpp:10:2: note: previous declaration as 'ed e [10005]'
 }e[N],ef[N];
  ^
0_0_29822884_11938.cpp:192:11: error: conflicting declaration 'int ef [10005]'
 }e[N],ef[N];
           ^
0_0_29822884_11938.cpp:10:7: note: previous declaration as 'ed ef [10005]'
 }e[N],ef[N];
       ^
0_0_29822884_11938.cpp: In function 'void addedge1(ll, ll, ll)':
0_0_29822884_11938.cpp:194:6: error: redefinition of 'void addedge1(ll, ll, ll)'
 void addedge1(ll u,ll v,ll w){
      ^
0_0_29822884_11938.cpp:12:6: note: 'void addedge1(ll, ll, ll)' previously defined here
 void addedge1(ll u,ll v,ll w){
      ^
0_0_29822884_11938.cpp: In function 'void addedge2(ll, ll, ll)':
0_0_29822884_11938.cpp:201:6: error: redefinition of 'void addedge2(ll, ll, ll)'
 void addedge2(ll u,ll v,ll w){
      ^
0_0_29822884_11938.cpp:19:6: note: 'void addedge2(ll, ll, ll)' previously defined here
 void addedge2(ll u,ll v,ll w){
      ^
0_0_29822884_11938.cpp: At global scope:
0_0_29822884_11938.cpp:208:10: error: redefinition of 'll dist [10005]'
 ll dist[N];
          ^
0_0_29822884_11938.cpp:26:4: note: 'll dist [10005]' previously declared here
 ll dist[N];
    ^
0_0_29822884_11938.cpp:209:12: error: redefinition of 'bool vis [10005]'
 bool  vis[N];
            ^
0_0_29822884_11938.cpp:27:7: note: 'bool vis [10005]' previously declared here
 bool  vis[N];
       ^
0_0_29822884_11938.cpp:211:8: error: redefinition of 'struct node'
 struct node{
        ^
0_0_29822884_11938.cpp:29:8: error: previous definition of 'struct node'
 struct node{
        ^
0_0_29822884_11938.cpp:218:22: error: redefinition of 'std::priority_queue<node> q'
 priority_queue<node> q;
                      ^
0_0_29822884_11938.cpp:36:22: note: 'std::priority_queue<node> q' previously declared here
 priority_queue<node> q;
                      ^
0_0_29822884_11938.cpp: In function 'void dij(ll)':
0_0_29822884_11938.cpp:219:6: error: redefinition of 'void dij(ll)'
 void dij(ll x){
      ^
0_0_29822884_11938.cpp:37:6: note: 'void dij(ll)' previously defined here
 void dij(ll x){
      ^
0_0_29822884_11938.cpp: At global scope:
0_0_29822884_11938.cpp:237:10: error: redefinition of 'const ll MAX'
 const ll MAX = 1e16;
          ^
0_0_29822884_11938.cpp:55:10: note: 'const ll MAX' previously defined here
 const ll MAX = 1e16;
          ^
0_0_29822884_11938.cpp:238:8: error: redefinition of 'struct Edge'
 struct Edge{
        ^
0_0_29822884_11938.cpp:56:8: error: previous definition of 'struct Edge'
 struct Edge{
        ^
0_0_29822884_11938.cpp:241:12: error: invalid type in declaration before ';' token
 }edge[20*N];
            ^
0_0_29822884_11938.cpp:241:12: error: conflicting declaration 'int edge [200100]'
0_0_29822884_11938.cpp:59:2: note: previous declaration as 'Edge edge [200100]'
 }edge[20*N];
  ^
0_0_29822884_11938.cpp:242:4: error: redefinition of 'll edn'
 ll edn;//边数
    ^
0_0_29822884_11938.cpp:60:4: note: 'll edn' previously declared here
 ll edn;//边数
    ^
0_0_29822884_11938.cpp:243:7: error: redefinition of 'll p [10005]'
 ll p[N];//父亲
       ^
0_0_29822884_11938.cpp:61:4: note: 'll p [10005]' previously declared here
 ll p[N];//父亲
    ^
0_0_29822884_11938.cpp:244:7: error: redefinition of 'll d [10005]'
 ll d[N];
       ^
0_0_29822884_11938.cpp:62:4: note: 'll d [10005]' previously declared here
 ll d[N];
    ^
0_0_29822884_11938.cpp:245:4: error: redefinition of 'll sp'
 ll sp,tp;//原点,汇点
    ^
0_0_29822884_11938.cpp:63:4: note: 'll sp' previously declared here
 ll sp,tp;//原点,汇点
    ^
0_0_29822884_11938.cpp:245:7: error: redefinition of 'll tp'
 ll sp,tp;//原点,汇点
       ^
0_0_29822884_11938.cpp:63:7: note: 'll tp' previously declared here
 ll sp,tp;//原点,汇点
       ^
0_0_29822884_11938.cpp: In function 'void addedge3(ll, ll, ll)':
0_0_29822884_11938.cpp:246:6: error: redefinition of 'void addedge3(ll, ll, ll)'
 void addedge3(ll u,ll v,ll c)
      ^
0_0_29822884_11938.cpp:64:6: note: 'void addedge3(ll, ll, ll)' previously defined here
 void addedge3(ll u,ll v,ll c)
      ^
0_0_29822884_11938.cpp: In function 'll bfs()':
0_0_29822884_11938.cpp:254:4: error: redefinition of 'll bfs()'
 ll bfs()
    ^
0_0_29822884_11938.cpp:72:4: note: 'll bfs()' previously defined here
 ll bfs()
    ^
0_0_29822884_11938.cpp: In function 'll dfs(ll, ll)':
0_0_29822884_11938.cpp:276:4: error: redefinition of 'll dfs(ll, ll)'
 ll dfs(ll a,ll b)
    ^
0_0_29822884_11938.cpp:94:4: note: 'll dfs(ll, ll)' previously defined here
 ll dfs(ll a,ll b)
    ^
0_0_29822884_11938.cpp: In function 'll dinic(ll, ll)':
0_0_29822884_11938.cpp:296:4: error: redefinition of 'll dinic(ll, ll)'
 ll dinic(ll sp,ll tp)
    ^
0_0_29822884_11938.cpp:114:4: note: 'll dinic(ll, ll)' previously defined here
 ll dinic(ll sp,ll tp)
    ^
0_0_29822884_11938.cpp: In function 'void findpath(ll)':
0_0_29822884_11938.cpp:308:6: error: redefinition of 'void findpath(ll)'
 void findpath(ll x){
      ^
0_0_29822884_11938.cpp:126:6: note: 'void findpath(ll)' previously defined here
 void findpath(ll x){
      ^
0_0_29822884_11938.cpp: In function 'int main()':
0_0_29822884_11938.cpp:319:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_29822884_11938.cpp:137:5: note: 'int main()' previously defined here
 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-11-16 21:06:13, Gzip enabled