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_22208595_27553.cpp:38:1: error: 'vector' does not name a type
 vector<InPoint> inPoint;
 ^
0_0_22208595_27553.cpp:40:1: error: 'vector' does not name a type
 vector<Edge> node[maxm];
 ^
0_0_22208595_27553.cpp: In function 'void add_edge(int, int, int, int)':
0_0_22208595_27553.cpp:52:5: error: 'node' was not declared in this scope
     node[from].push_back(edge);
     ^
0_0_22208595_27553.cpp: In function 'int spfa()':
0_0_22208595_27553.cpp:60:34: error: 'memset' was not declared in this scope
     memset(dist, -1, sizeof(dist));
                                  ^
0_0_22208595_27553.cpp:63:5: error: 'queue' was not declared in this scope
     queue<int> q;
     ^
0_0_22208595_27553.cpp:63:11: error: expected primary-expression before 'int'
     queue<int> q;
           ^
0_0_22208595_27553.cpp:64:5: error: 'q' was not declared in this scope
     q.push(s_begin);
     ^
0_0_22208595_27553.cpp:71:28: error: 'node' was not declared in this scope
         for(int i = 0; i < node[cur].size(); i++) {
                            ^
0_0_22208595_27553.cpp: In function 'int flow()':
0_0_22208595_27553.cpp:105:13: error: 'node' was not declared in this scope
             node[(pre_node[i]->to)][(pre_node[i]->oppo)].val += Min;
             ^
0_0_22208595_27553.cpp: In function 'void init()':
0_0_22208595_27553.cpp:112:31: error: 'scanf' was not declared in this scope
     while(scanf("%d%d", &n, &m) != EOF) {
                               ^
0_0_22208595_27553.cpp:112:36: error: 'EOF' was not declared in this scope
     while(scanf("%d%d", &n, &m) != EOF) {
                                    ^
0_0_22208595_27553.cpp:118:13: error: 'node' was not declared in this scope
             node[i].clear();
             ^
0_0_22208595_27553.cpp:119:9: error: 'inPoint' was not declared in this scope
         inPoint.clear();
         ^
0_0_22208595_27553.cpp:147:27: error: 'printf' was not declared in this scope
         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-22 22:15:47, Gzip enabled