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_18197601_634.cpp:128:4: error: stray '#' in program
  } #include<cstdio>
    ^
0_0_18197601_634.cpp:128:5: error: 'include' does not name a type
  } #include<cstdio>
     ^
0_0_18197601_634.cpp:135:11: error: redefinition of 'const int INF'
 const int INF=0x3f3f3f3f;
           ^
0_0_18197601_634.cpp:8:11: note: 'const int INF' previously defined here
 const int INF=0x3f3f3f3f;
           ^
0_0_18197601_634.cpp:138:5: error: redefinition of 'int n'
 int n,m,l;
     ^
0_0_18197601_634.cpp:11:5: note: 'int n' previously declared here
 int n,m,l;
     ^
0_0_18197601_634.cpp:138:7: error: redefinition of 'int m'
 int n,m,l;
       ^
0_0_18197601_634.cpp:11:7: note: 'int m' previously declared here
 int n,m,l;
       ^
0_0_18197601_634.cpp:138:9: error: redefinition of 'int l'
 int n,m,l;
         ^
0_0_18197601_634.cpp:11:9: note: 'int l' previously declared here
 int n,m,l;
         ^
0_0_18197601_634.cpp:139:5: error: redefinition of 'int t'
 int t,ppp=0;
     ^
0_0_18197601_634.cpp:12:5: note: 'int t' previously declared here
 int t,ppp=0;
     ^
0_0_18197601_634.cpp:139:7: error: redefinition of 'int ppp'
 int t,ppp=0;
       ^
0_0_18197601_634.cpp:12:7: note: 'int ppp' previously defined here
 int t,ppp=0;
       ^
0_0_18197601_634.cpp:140:17: error: redefinition of 'int cap [600][600]'
 int cap[600][600], d[600];
                 ^
0_0_18197601_634.cpp:13:5: note: 'int cap [600][600]' previously declared here
 int cap[600][600], d[600];
     ^
0_0_18197601_634.cpp:140:25: error: redefinition of 'int d [600]'
 int cap[600][600], d[600];
                         ^
0_0_18197601_634.cpp:13:20: note: 'int d [600]' previously declared here
 int cap[600][600], d[600];
                    ^
0_0_18197601_634.cpp:141:5: error: redefinition of 'int st'
 int st,ed;
     ^
0_0_18197601_634.cpp:14:5: note: 'int st' previously declared here
 int st,ed;
     ^
0_0_18197601_634.cpp:141:8: error: redefinition of 'int ed'
 int st,ed;
        ^
0_0_18197601_634.cpp:14:8: note: 'int ed' previously declared here
 int st,ed;
        ^
0_0_18197601_634.cpp: In function 'void init()':
0_0_18197601_634.cpp:142:6: error: redefinition of 'void init()'
 void init(){
      ^
0_0_18197601_634.cpp:15:6: note: 'void init()' previously defined here
 void init(){
      ^
0_0_18197601_634.cpp: At global scope:
0_0_18197601_634.cpp:145:8: error: redefinition of 'struct plant'
 struct plant{
        ^
0_0_18197601_634.cpp:18:8: error: previous definition of 'struct plant'
 struct plant{
        ^
0_0_18197601_634.cpp:152:9: error: invalid type in declaration before ';' token
 }pt[600];
         ^
0_0_18197601_634.cpp:152:9: error: conflicting declaration 'int pt [600]'
0_0_18197601_634.cpp:25:2: note: previous declaration as 'plant pt [600]'
 }pt[600];
  ^
0_0_18197601_634.cpp:153:8: error: redefinition of 'struct shop'
 struct shop{
        ^
0_0_18197601_634.cpp:26:8: error: previous definition of 'struct shop'
 struct shop{
        ^
0_0_18197601_634.cpp:158:8: error: invalid type in declaration before ';' token
 }s[600];
        ^
0_0_18197601_634.cpp:158:8: error: conflicting declaration 'int s [600]'
0_0_18197601_634.cpp:31:2: note: previous declaration as 'shop s [600]'
 }s[600];
  ^
0_0_18197601_634.cpp: In function 'int bfs()':
0_0_18197601_634.cpp:159:5: error: redefinition of 'int bfs()'
 int bfs()
     ^
0_0_18197601_634.cpp:32:5: note: 'int bfs()' previously defined here
 int bfs()
     ^
0_0_18197601_634.cpp: In function 'int dfs(int, int)':
0_0_18197601_634.cpp:178:5: error: redefinition of 'int dfs(int, int)'
 int dfs(int p,int flow){
     ^
0_0_18197601_634.cpp:51:5: note: 'int dfs(int, int)' previously defined here
 int dfs(int p,int flow){
     ^
0_0_18197601_634.cpp: In function 'int dinic()':
0_0_18197601_634.cpp:194:5: error: redefinition of 'int dinic()'
 int dinic(){
     ^
0_0_18197601_634.cpp:67:5: note: 'int dinic()' previously defined here
 int dinic(){
     ^
0_0_18197601_634.cpp: In function 'int main()':
0_0_18197601_634.cpp:203:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_18197601_634.cpp:76: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-12-01 12:00:58, Gzip enabled