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_37203109_29380.cpp: In function 'int SPPfa()':
0_0_37203109_29380.cpp:90:5: error: 'Predic' was not declared in this scope
     Predic[s] = -1;
     ^
0_0_37203109_29380.cpp:91:5: error: 'visitedd' was not declared in this scope
     visitedd[s] = 1;
     ^
0_0_37203109_29380.cpp:98:21: error: 'head' was not declared in this scope
         for(int i = head[u]; i != -1; i=edge[i].next) {
                     ^
0_0_37203109_29380.cpp:98:41: error: 'edge' was not declared in this scope
         for(int i = head[u]; i != -1; i=edge[i].next) {
                                         ^
0_0_37203109_29380.cpp:100:29: error: 'TheDistance' was not declared in this scope
             if(edge[i].cap&&TheDistance[v]<TheDistance[u]+edge[i].costedd) {
                             ^
0_0_37203109_29380.cpp:111:8: error: 'TheDistance' was not declared in this scope
     if(TheDistance[t]==-1) return 0;
        ^
0_0_37203109_29380.cpp:112:5: error: 'costedd' was not declared in this scope
     costedd+=TheDistance[t];
     ^
0_0_37203109_29380.cpp:112:14: error: 'TheDistance' was not declared in this scope
     costedd+=TheDistance[t];
              ^
0_0_37203109_29380.cpp: At global scope:
0_0_37203109_29380.cpp:134:14: error: redefinition of 'int head [10001]'
 int head[MAXN],TheDistance[MAXN],Predic[MAXN],visitedd[MAXN],mmappp[100][100],flowed,costedd, cnteed;
              ^
0_0_37203109_29380.cpp:121:5: note: 'int head [10001]' previously declared here
 int head[MAXN];
     ^


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-23 13:22:56, Gzip enabled