0_0_15971422_25385.cpp: In function 'void addedge(int, int, int)':
0_0_15971422_25385.cpp:19:28: error: reference to 'next' is ambiguous
reach[edge]=v;flow[edge]=c;next[edge]=head[u];head[u]=edge++;
^
0_0_15971422_25385.cpp:10:24: note: candidates are: int next [11111111]
int reach[mm],flow[mm],next[mm];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_15971422_25385.cpp:1:
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_15971422_25385.cpp:20:28: error: reference to 'next' is ambiguous
reach[edge]=u;flow[edge]=0;next[edge]=head[v];head[v]=edge++;
^
0_0_15971422_25385.cpp:10:24: note: candidates are: int next [11111111]
int reach[mm],flow[mm],next[mm];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_15971422_25385.cpp:1:
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_15971422_25385.cpp: In function 'void makegraph(int, int)':
0_0_15971422_25385.cpp:29:10: error: reference to 'map' is ambiguous
if(!c && map[i][j]=='X') addedge(src,w+mark[i][j],1);
^
0_0_15971422_25385.cpp:12:6: note: candidates are: char map [22][22]
char map[22][22];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_15971422_25385.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_15971422_25385.cpp:32:4: error: reference to 'map' is ambiguous
if(map[i][j]=='@') addedge(w+mark[i][j]+t,dest,1);
^
0_0_15971422_25385.cpp:12:6: note: candidates are: char map [22][22]
char map[22][22];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_15971422_25385.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_15971422_25385.cpp: In function 'bool Dinic_bfs()':
0_0_15971422_25385.cpp:47:27: error: reference to 'next' is ambiguous
for(i=head[u=q[l]];i>=0;i=next[i])
^
0_0_15971422_25385.cpp:10:24: note: candidates are: int next [11111111]
int reach[mm],flow[mm],next[mm];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_15971422_25385.cpp:1:
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_15971422_25385.cpp: In function 'int Dinic_dfs(int, int)':
0_0_15971422_25385.cpp:55:33: error: reference to 'next' is ambiguous
for(int &i=work[u],v,tmp;i>=0;i=next[i])
^
0_0_15971422_25385.cpp:10:24: note: candidates are: int next [11111111]
int reach[mm],flow[mm],next[mm];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_15971422_25385.cpp:1:
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_15971422_25385.cpp: In function 'void bfs(int)':
0_0_15971422_25385.cpp:76:26: error: reference to 'map' is ambiguous
if(x>0&&x<=n&&y>0&&y<=m&&map[x][y]!='#'&&d[x][y]<0)
^
0_0_15971422_25385.cpp:12:6: note: candidates are: char map [22][22]
char map[22][22];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_15971422_25385.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_15971422_25385.cpp: In function 'int main()':
0_0_15971422_25385.cpp:89:1: error: reference to 'map' is ambiguous
map[i][j] = getchar();
^
0_0_15971422_25385.cpp:12:6: note: candidates are: char map [22][22]
char map[22][22];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_15971422_25385.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_15971422_25385.cpp:91:4: error: reference to 'map' is ambiguous
if(map[i][j]!='#') mark[i][j]=(++t) + 1; //t指不是障碍物的个数,mark[i][j]指不是障碍物的编号从2到t+1
^
0_0_15971422_25385.cpp:12:6: note: candidates are: char map [22][22]
char map[22][22];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_15971422_25385.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:96:11: note: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map
class map
^
0_0_15971422_25385.cpp:95:4: error: reference to 'map' is ambiguous
if(map[i][j]=='@') qx[k]=i,qy[k]=j,d[i][j]=0,++k;//把每个出口的坐标储存在qx[],qy[]中,k表示有几个出口
^
0_0_15971422_25385.cpp:12:6: note: candidates are: char map [22][22]
char map[22][22];
^
In file included from GCC4.9.2/x86_64-w64-mi
|