0_0_26262724_12343.cpp:5:19: error: 'typedef long long int ll' redeclared as different kind of symbol
typedef long long ll;
^
0_0_26262724_12343.cpp:4:11: note: previous declaration 'const int ll'
const int ll = 0x3f3f3f3f3f3f3f3f;
^
0_0_26262724_12343.cpp:9:2: error: 'll' does not name a type
ll cap,flow;
^
0_0_26262724_12343.cpp:17:2: error: 'll' does not name a type
ll d[MAXN];
^
0_0_26262724_12343.cpp:27:31: error: 'll' is not a type
void AddEdge(int from,int to,ll cap)
^
0_0_26262724_12343.cpp:56:2: error: 'll' does not name a type
ll DFS(int x,ll a)
^
0_0_26262724_12343.cpp:72:2: error: 'll' does not name a type
ll Maxflow(int s,int t) {
^
0_0_26262724_12343.cpp: In member function 'void Dinic::AddEdge(int, int, int)':
0_0_26262724_12343.cpp:29:40: error: too many initializers for 'Edge1'
edges.push_back((Edge1){from,to,cap,0});
^
0_0_26262724_12343.cpp:30:38: error: too many initializers for 'Edge1'
edges.push_back((Edge1){to,from,0,0});
^
0_0_26262724_12343.cpp: In member function 'bool Dinic::BFS()':
0_0_26262724_12343.cpp:40:3: error: 'd' was not declared in this scope
d[s] = 0;
^
0_0_26262724_12343.cpp:47:24: error: 'struct Edge1' has no member named 'cap'
if(!vis[e.to] && e.cap > e.flow) {
^
0_0_26262724_12343.cpp:47:32: error: 'struct Edge1' has no member named 'flow'
if(!vis[e.to] && e.cap > e.flow) {
^
0_0_26262724_12343.cpp: In function 'int main()':
0_0_26262724_12343.cpp:85:8: error: expected ';' before 'w'
ll w,ans;
^
0_0_26262724_12343.cpp:94:44: error: 'w' was not declared in this scope
scanf("%d %d %I64d %d",&u,&v,&w,&d);
^
0_0_26262724_12343.cpp:100:9: error: 'ans' was not declared in this scope
ans = din.Maxflow(s,t);
^
0_0_26262724_12343.cpp:100:19: error: 'struct Dinic' has no member named 'Maxflow'
ans = din.Maxflow(s,t);
^
|