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);
^
|