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_23616973_13898.cpp: In function 'void work()':
0_0_23616973_13898.cpp:10:33: error: 's' was not declared in this scope
     S = n + m + n , T = S + 1 , s = T + 1 , t = s + 1;
                                 ^
0_0_23616973_13898.cpp:10:45: error: 't' was not declared in this scope
     S = n + m + n , T = S + 1 , s = T + 1 , t = s + 1;
                                             ^
0_0_23616973_13898.cpp:12:37: error: 'scanf' was not declared in this scope
         scanf("%d%d",&SS[i] , &TT[i]);
                                     ^
0_0_23616973_13898.cpp:15:32: error: 'scanf' was not declared in this scope
             scanf("%d",&C[j][i]);
                                ^
0_0_23616973_13898.cpp:18:32: error: 'scanf' was not declared in this scope
             scanf("%d",&D[j][i]);
                                ^
0_0_23616973_13898.cpp:21:32: error: 'scanf' was not declared in this scope
             scanf("%d",&E[i][j]);
                                ^
0_0_23616973_13898.cpp:24:32: error: 'scanf' was not declared in this scope
             scanf("%d",&F[i][j]);
                                ^
0_0_23616973_13898.cpp:25:12: error: 'pre' was not declared in this scope
     memset(pre , -1 , sizeof(pre)) , mcnt = 0;
            ^
0_0_23616973_13898.cpp:25:34: error: 'memset' was not declared in this scope
     memset(pre , -1 , sizeof(pre)) , mcnt = 0;
                                  ^
0_0_23616973_13898.cpp:25:38: error: 'mcnt' was not declared in this scope
     memset(pre , -1 , sizeof(pre)) , mcnt = 0;
                                      ^
0_0_23616973_13898.cpp:28:38: error: 'addarc' was not declared in this scope
         addarc(s , i << 1 | 1 , 1 , 0);
                                      ^
0_0_23616973_13898.cpp:33:29: error: 'addarc' was not declared in this scope
         addarc(S , i , 1 , 0);
                             ^
0_0_23616973_13898.cpp:39:48: error: 'addarc' was not declared in this scope
                 addarc(x , j << 1 , 1 , D[i][j]);
                                                ^
0_0_23616973_13898.cpp:41:72: error: 'addarc' was not declared in this scope
                 addarc(x , j << 1 , 1 , D[i][j] + K * (C[i][j] - SS[j]));
                                                                        ^
0_0_23616973_13898.cpp:48:57: error: 'addarc' was not declared in this scope
                 addarc(i << 1 | 1 , j << 1 , 1 , F[i][j]);
                                                         ^
0_0_23616973_13898.cpp:50:75: error: 'addarc' was not declared in this scope
                 addarc(i << 1 | 1 , j << 1 , 1 , F[i][j] + K * (x - SS[j]));
                                                                           ^
0_0_23616973_13898.cpp:52:31: error: 'addarc' was not declared in this scope
     addarc(T , S , 1 << 30 , 0);
                               ^
0_0_23616973_13898.cpp:53:17: error: 'Mincostflow' was not declared in this scope
     Mincostflow();
                 ^
0_0_23616973_13898.cpp:54:9: error: 'maxflow' was not declared in this scope
     if (maxflow != n)
         ^
0_0_23616973_13898.cpp:55:18: error: 'puts' was not declared in this scope
         puts("-1");
                  ^
0_0_23616973_13898.cpp:56:26: error: 'ans' was not declared in this scope
     else printf("%d\n" , ans);
                          ^
0_0_23616973_13898.cpp:56:29: error: 'printf' was not declared in this scope
     else printf("%d\n" , ans);
                             ^


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-23 05:05:29, Gzip enabled