0_0_22172578_19164.cpp:10:10: error: 'intx' does not name a type
intx,y;
^
0_0_22172578_19164.cpp: In function 'bool cmp(int, int)':
0_0_22172578_19164.cpp:23:35: error: 'struct Point' has no member named 'y'
returnatan2((double)p[a].y-p[workP].y,p[a].x-p[workP].x) <atan2((double)p[b].y-p[workP].y,p[b].x-p[workP].x);
^
0_0_22172578_19164.cpp:23:46: error: 'struct Point' has no member named 'y'
returnatan2((double)p[a].y-p[workP].y,p[a].x-p[workP].x) <atan2((double)p[b].y-p[workP].y,p[b].x-p[workP].x);
^
0_0_22172578_19164.cpp:23:53: error: 'struct Point' has no member named 'x'
returnatan2((double)p[a].y-p[workP].y,p[a].x-p[workP].x) <atan2((double)p[b].y-p[workP].y,p[b].x-p[workP].x);
^
0_0_22172578_19164.cpp:23:64: error: 'struct Point' has no member named 'x'
returnatan2((double)p[a].y-p[workP].y,p[a].x-p[workP].x) <atan2((double)p[b].y-p[workP].y,p[b].x-p[workP].x);
^
0_0_22172578_19164.cpp:23:65: error: 'returnatan2' was not declared in this scope
returnatan2((double)p[a].y-p[workP].y,p[a].x-p[workP].x) <atan2((double)p[b].y-p[workP].y,p[b].x-p[workP].x);
^
0_0_22172578_19164.cpp:23:87: error: 'struct Point' has no member named 'y'
returnatan2((double)p[a].y-p[workP].y,p[a].x-p[workP].x) <atan2((double)p[b].y-p[workP].y,p[b].x-p[workP].x);
^
0_0_22172578_19164.cpp:23:98: error: 'struct Point' has no member named 'y'
returnatan2((double)p[a].y-p[workP].y,p[a].x-p[workP].x) <atan2((double)p[b].y-p[workP].y,p[b].x-p[workP].x);
^
0_0_22172578_19164.cpp:23:105: error: 'struct Point' has no member named 'x'
returnatan2((double)p[a].y-p[workP].y,p[a].x-p[workP].x) <atan2((double)p[b].y-p[workP].y,p[b].x-p[workP].x);
^
0_0_22172578_19164.cpp:23:116: error: 'struct Point' has no member named 'x'
returnatan2((double)p[a].y-p[workP].y,p[a].x-p[workP].x) <atan2((double)p[b].y-p[workP].y,p[b].x-p[workP].x);
^
0_0_22172578_19164.cpp: In function 'bool init()':
0_0_22172578_19164.cpp:27:10: error: 'intm' was not declared in this scope
intm;
^
0_0_22172578_19164.cpp:28:10: error: 'inti' was not declared in this scope
inti;
^
0_0_22172578_19164.cpp:29:34: error: 'm' was not declared in this scope
scanf("%d%d%d%d%d",&np,&m,&MIN_K,&MAX_K,&bili);
^
0_0_22172578_19164.cpp:31:20: error: 'returnfalse' was not declared in this scope
returnfalse;
^
0_0_22172578_19164.cpp:33:14: error: 'i' was not declared in this scope
for(i=0;i<np;i++)
^
0_0_22172578_19164.cpp:39:20: error: 'intu' was not declared in this scope
intu,v,w;
^
0_0_22172578_19164.cpp:39:25: error: 'v' was not declared in this scope
intu,v,w;
^
0_0_22172578_19164.cpp:39:27: error: 'w' was not declared in this scope
intu,v,w;
^
0_0_22172578_19164.cpp:40:36: error: 'u' was not declared in this scope
scanf("%d%d%d",&u,&v,&w);
^
0_0_22172578_19164.cpp:49:24: error: 'i' was not declared in this scope
for(i=1;i<=ll[workP];i++)
^
0_0_22172578_19164.cpp:50:29: error: reference to 'next' is ambiguous
next[l[workP][i]][workP]=l[workP][i-1];
^
0_0_22172578_19164.cpp:19:5: note: candidates are: int next [1001][1001]
int next[maxP][maxP];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_22172578_19164.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_22172578_19164.cpp:52:10: error: 'returntrue' was not declared in this scope
returntrue;
^
0_0_22172578_19164.cpp: In function 'int dfs(int, int)':
0_0_22172578_19164.cpp:63:20: error: 'return0' was not declared in this scope
return0;
^
0_0_22172578_19164.cpp:65:10: error: 'returnp' was not declared in this scope
returnp[u].x*p[v].y-p[u].y*p[v].x
^
0_0_22172578_19164.cpp:65:28: error: 'struct Point' has no member named 'y'
returnp[u].x*p[v].y-p[u].y*p[v].x
^
0_0_22172578_19164.cpp:65:35: error: 'struct Point' has no member named 'y'
returnp[u].x*p[v].y-p[u].y*p[v].x
^
0_0_22172578_19164.cpp:65:42: error: 'struct Point' has no member named 'x'
returnp[u].x*p[v].y-p[u].y*p[v].x
^
0_0_22172578_19164.cpp:66:27: error: reference to 'next' is ambiguous
+dfs(v,next[u][v]);
^
0_0_22172578_19164.cpp:19:5: note: candidates are: int next [1001][1001]
int next[maxP][maxP];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:61,
from 0_0_22172578_19164.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_22172578_19164.cpp: At global scope:
0_0_22172578_19164.cpp:70:7: error: 'maxm' does not name a type
const maxm=maxn*maxn;
^
0_0_22172578_19164.cpp:74:10: error: 'inty' does not name a type
inty,f,ne;
^
0_0_22172578_19164.cpp:75:5: error: 'maxm' was not declared in this scope
} e[maxm];
^
0_0_22172578_19164.cpp:78:32: error: 'intff' has not been declared
void addedge(int x,int y,int f,intff)//x->y增加一条容量f的正向边和容量ff的反向边
^
0_0_22172578_19164.cpp: In function 'void addedge(int, int, int, int)':
0_0_22172578_19164.cpp:80:10: error: 'e' was not declared in this scope
e[ee].y=y;e[ee].f=f;e[ee].ne=st[x];st[x]=ee++;
^
0_0_22172578_19164.cpp:81:28: error: 'ff' was not declared in this scope
e[ee].y=x;e[ee].f=ff;e[ee].ne=st[y];st[y]=ee++;
^
0_0_22172578_19164.cpp: At global scope:
0_0_22172578_19164.cpp:86:40: error: 'intex' does not name a type
lld aug(const int sx,const int m,const intex,const lld t,int n)//目标ex t是流量 m是当前所在节点
^
0_0_22172578_19164.cpp: In function 'lld aug(int, int, int, lld, int)':
0_0_22172578_19164.cpp:90:11: error: 'ex' was not declared in this scope
if(m== ex) return t;
^
0_0_22172578_19164.cpp:93:24: error: 'e' was not declared in this scope
for(i=st[m];i!=-1;i=e[i].ne) if(e[i].f>0){
^
0_0_22172578_19164.cpp:96:30: error: 'ex' was not declared in this scope
d = aug(sx,e[i].y,ex,d,n);
^
0_0_22172578_19164.cpp: In function 'lld maxflow(int, int, int)':
0_0_22172578_19164.cpp:122:10: error: 'returnflow' was not declared in this scope
returnflow;
^
0_0_22172578_19164.cpp: In function 'int main()':
0_0_22172578_19164.cpp:132:20: error: 'inti' was not declared in this scope
inti,j;
^
0_0_22172578_19164.cpp:132:25: error: 'j' was not declared in this scope
inti,j;
^
0_0_22172578_19164.cpp:135:24: error: 'i' was not declared in this scope
for(i=0;i<np;i++)
^
0_0_22172578_19164.cpp:145:24: error: 'i' was not declared in this scope
for(i=0;i<np;i++)
^
0_0_22172578_19164.cpp:154:24: error: 'i' was not declared in this scope
for(i=0;i<n;i++)
^
0_0_22172578_19164.cpp:158:24: error: 'i' was not declared in this scope
for(i=0;i<n;i++)
^
0_0_22172578_19164.cpp:163:20: error: 'intmaxf' was not declared in this scope
intmaxf=maxflow(n,n+1,n+2);
^
0_0_22172578_19164.cpp:164:23: error: 'maxf' was not declared in this scope
if(maxf<MIN_K*n)
^
0_0_22172578_19164.cpp:169:24: error: 'i' was not declared in this scope
for(i=st[n+1];i!=-1;i=e[i].ne)
^
0_0_22172578_191
|