0_0_34759788_16060.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^
0_0_34759788_16060.cpp:17:1: error: 'queue' does not name a type
queue<int>q;
^
0_0_34759788_16060.cpp: In function 'bool spfa(int, int)':
0_0_34759788_16060.cpp:50:11: error: 'q' was not declared in this scope
while(q.size()) q.pop();
^
0_0_34759788_16060.cpp:51:5: error: 'q' was not declared in this scope
q.push(s);
^
0_0_34759788_16060.cpp:68:44: error: 'min' was not declared in this scope
flow[j] = min(flow[t], w[i]);
^
0_0_34759788_16060.cpp: At global scope:
0_0_34759788_16060.cpp:99:1: error: 'vector' does not name a type
vector <int> point;
^
0_0_34759788_16060.cpp: In function 'void pre1(node)':
0_0_34759788_16060.cpp:117:41: error: 'max' was not declared in this scope
for(int i = max(1*1ll, line - 25); i <= min(m*1ll, line + 25); i++) point.push_back(i);
^
0_0_34759788_16060.cpp:117:69: error: 'min' was not declared in this scope
for(int i = max(1*1ll, line - 25); i <= min(m*1ll, line + 25); i++) point.push_back(i);
^
0_0_34759788_16060.cpp:117:77: error: 'point' was not declared in this scope
for(int i = max(1*1ll, line - 25); i <= min(m*1ll, line + 25); i++) point.push_back(i);
^
0_0_34759788_16060.cpp: In function 'int main()':
0_0_34759788_16060.cpp:131:24: error: 'scanf' was not declared in this scope
for (scanf("%d", &_); _; _ --)
^
0_0_34759788_16060.cpp:133:9: error: 'point' was not declared in this scope
point.clear();
^
0_0_34759788_16060.cpp:140:40: error: 'sort' was not declared in this scope
sort(point.begin(), point.end());
^
0_0_34759788_16060.cpp:141:54: error: 'unique' was not declared in this scope
point.erase(unique(point.begin(), point.end()), point.end());
^
0_0_34759788_16060.cpp:164:51: error: 'printf' was not declared in this scope
printf("%lld%c",mincost, i==n?'\n':' ');
^
|