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_29815171_26915.cpp:4:7: error: 'll' does not name a type
 const ll INF = 1<<30;
       ^
0_0_29815171_26915.cpp:5:14: error: 'll' was not declared in this scope
 typedef pair<ll,ll> pa;
              ^
0_0_29815171_26915.cpp:5:17: error: 'll' was not declared in this scope
 typedef pair<ll,ll> pa;
                 ^
0_0_29815171_26915.cpp:5:19: error: template argument 1 is invalid
 typedef pair<ll,ll> pa;
                   ^
0_0_29815171_26915.cpp:5:19: error: template argument 2 is invalid
0_0_29815171_26915.cpp:5:23: error: invalid type in declaration before ';' token
 typedef pair<ll,ll> pa;
                       ^
0_0_29815171_26915.cpp:19:2: error: 'llcap' does not name a type
  llcap;
  ^
0_0_29815171_26915.cpp: In constructor 'edge::edge(ll, ll, ll)':
0_0_29815171_26915.cpp:23:3: error: 'cap' was not declared in this scope
   cap=b;
   ^
0_0_29815171_26915.cpp: In function 'void dij(int)':
0_0_29815171_26915.cpp:37:19: error: 'INF' was not declared in this scope
  fill(dis,dis+n+2,INF);
                   ^
0_0_29815171_26915.cpp:39:16: error: expression list treated as compound expression in functional cast [-fpermissive]
  pq.push(pa(0,s));
                ^
0_0_29815171_26915.cpp:43:11: error: request for member 'second' in 'p', which is of non-class type 'pa {aka int}'
   int v=p.second;
           ^
0_0_29815171_26915.cpp:44:15: error: request for member 'first' in 'p', which is of non-class type 'pa {aka int}'
   if(dis[v]<p.first)
               ^
0_0_29815171_26915.cpp:50:30: error: expression list treated as compound expression in functional cast [-fpermissive]
     pq.push(pa(dis[g.to],g.to));
                              ^
0_0_29815171_26915.cpp: In function 'void bfs(int)':
0_0_29815171_26915.cpp:65:9: error: 'struct edge' has no member named 'cap'
    if(e.cap>0 && level[e.to]<0){
         ^
0_0_29815171_26915.cpp: In function 'll dfs(int, int, ll)':
0_0_29815171_26915.cpp:75:19: error: invalid initialization of reference of type 'int&' from expression of type 'll {aka long long int}'
  for(int &i=iter[v];i<E[v].size();i++){
                   ^
0_0_29815171_26915.cpp:77:8: error: 'struct edge' has no member named 'cap'
   if(e.cap>0 && level[v]<level[e.to]){
        ^
0_0_29815171_26915.cpp:78:28: error: 'struct edge' has no member named 'cap'
    ll d=dfs(e.to,t,min(f,e.cap));
                            ^
0_0_29815171_26915.cpp:80:7: error: 'struct edge' has no member named 'cap'
     e.cap-=d;
       ^
0_0_29815171_26915.cpp:81:20: error: '__gnu_cxx::__alloc_traits<std::allocator<edge> >::value_type' has no member named 'cap'
     E[e.to][e.rev].cap+=d;
                    ^
0_0_29815171_26915.cpp: In function 'll dinic(int, int)':
0_0_29815171_26915.cpp:96:21: error: 'INF' was not declared in this scope
   while( (f=dfs(s,t,INF))>0 ){
                     ^


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-17 01:38:24, Gzip enabled