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


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-23 04:50:54, Gzip enabled