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_13797626_19519.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797626_19519.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797626_19519.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797626_19519.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797626_19519.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13797626_19519.cpp:14:1: error: expected ']' before 'int'
 int deep[MAX];
 ^
0_0_13797626_19519.cpp: In function 'void Add(int, int, int)':
0_0_13797626_19519.cpp:19:5: error: 'next' was not declared in this scope
     next[++total] = head[x];
     ^
0_0_13797626_19519.cpp:20:5: error: 'aim' was not declared in this scope
     aim[total] = y;
     ^
0_0_13797626_19519.cpp:21:5: error: 'from' was not declared in this scope
     from[total] = x;
     ^
0_0_13797626_19519.cpp:22:5: error: 'flow' was not declared in this scope
     flow[total] = f;
     ^
0_0_13797626_19519.cpp: In function 'bool BFS()':
0_0_13797626_19519.cpp:34:12: error: 'queue' does not name a type
     static queue q;
            ^
0_0_13797626_19519.cpp:35:12: error: 'q' was not declared in this scope
     while(!q.empty())   q.pop();
            ^
0_0_13797626_19519.cpp:36:12: error: 'deep' was not declared in this scope
     memset(deep,0,sizeof(deep));
            ^
0_0_13797626_19519.cpp:36:31: error: 'memset' was not declared in this scope
     memset(deep,0,sizeof(deep));
                               ^
0_0_13797626_19519.cpp:38:5: error: 'q' was not declared in this scope
     q.push(S);
     ^
0_0_13797626_19519.cpp:41:37: error: 'next' was not declared in this scope
         for(int i = head[x]; i; i = next[i]) 
                                     ^
0_0_13797626_19519.cpp:42:16: error: 'flow' was not declared in this scope
             if(flow[i] && !deep[aim[i]]) {
                ^
0_0_13797626_19519.cpp:42:33: error: 'aim' was not declared in this scope
             if(flow[i] && !deep[aim[i]]) {
                                 ^
0_0_13797626_19519.cpp: In function 'int Dinic(int, int)':
0_0_13797626_19519.cpp:55:33: error: 'next' was not declared in this scope
     for(int i = head[x]; i; i = next[i])
                                 ^
0_0_13797626_19519.cpp:56:12: error: 'flow' was not declared in this scope
         if(flow[i] && deep[aim[i]] == deep[x] + 1 && temp) {
            ^
0_0_13797626_19519.cpp:56:23: error: 'deep' was not declared in this scope
         if(flow[i] && deep[aim[i]] == deep[x] + 1 && temp) {
                       ^
0_0_13797626_19519.cpp:56:28: error: 'aim' was not declared in this scope
         if(flow[i] && deep[aim[i]] == deep[x] + 1 && temp) {
                            ^
0_0_13797626_19519.cpp:57:53: error: 'min' was not declared in this scope
             int away = Dinic(aim[i],min(temp,flow[i]));
                                                     ^
0_0_13797626_19519.cpp: In function 'void Tarjan(int)':
0_0_13797626_19519.cpp:74:33: error: 'next' was not declared in this scope
     for(int i = head[x]; i; i = next[i])
                                 ^
0_0_13797626_19519.cpp:75:12: error: 'flow' was not declared in this scope
         if(flow[i]) {
            ^
0_0_13797626_19519.cpp:76:21: error: 'aim' was not declared in this scope
             if(!dfn[aim[i]])
                     ^
0_0_13797626_19519.cpp:77:63: error: 'min' was not declared in this scope
                 Tarjan(aim[i]),low[x] = min(low[x],low[aim[i]]);
                                                               ^
0_0_13797626_19519.cpp:79:48: error: 'min' was not declared in this scope
                 low[x] = min(low[x],dfn[aim[i]]);
                                                ^
0_0_13797626_19519.cpp: In function 'int main()':
0_0_13797626_19519.cpp:94:5: error: 'cin' was not declared in this scope
     cin  points  edges  S  T;
     ^
0_0_13797626_19519.cpp:96:9: error: expected ';' before 'scanf'
         scanf("%d%d%d",&x,&y,&z);
         ^
0_0_13797626_19519.cpp:96:32: error: 'scanf' was not declared in this scope
         scanf("%d%d%d",&x,&y,&z);
                                ^
0_0_13797626_19519.cpp:96:33: error: expected ')' before ';' token
         scanf("%d%d%d",&x,&y,&z);
                                 ^
0_0_13797626_19519.cpp:97:16: error: 'x' was not declared in this scope
         Insert(x,y,z);
                ^
0_0_13797626_19519.cpp:97:18: error: 'y' was not declared in this scope
         Insert(x,y,z);
                  ^
0_0_13797626_19519.cpp:97:20: error: 'z' was not declared in this scope
         Insert(x,y,z);
                    ^
0_0_13797626_19519.cpp: At global scope:
0_0_13797626_19519.cpp:99:5: error: expected unqualified-id before 'while'
     while(BFS())
     ^
0_0_13797626_19519.cpp:101:5: error: expected unqualified-id before 'for'
     for(int i = 1; i 
     ^
0_0_13797626_19519.cpp:101:20: error: 'i' does not name a type
     for(int i = 1; i 
                    ^
0_0_13797626_19519.cpp:103:5: error: expected unqualified-id before 'for'
     for(int i = 2; i 
     ^
0_0_13797626_19519.cpp:103:20: error: 'i' does not name a type
     for(int i = 2; i 
                    ^
0_0_13797626_19519.cpp:112:9: error: expected unqualified-id before 'else'
         else    puts("0 0");
         ^
0_0_13797626_19519.cpp:113:5: error: expected declaration before '}' token
     }
     ^


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-27 06:01:51, Gzip enabled