0_0_25189060_25990.cpp: In function 'void add(int, int, int, int)':
0_0_25189060_25990.cpp:15:18: error: reference to 'list' is ambiguous
cun[tot].next=list[a];
^
0_0_25189060_25990.cpp:5:5: note: candidates are: int list [1005]
int list[N],dis[N],hx[N],hy[N],px[N],py[N],tot,pre[N],pr[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_25189060_25990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_25189060_25990.cpp:17:4: error: reference to 'list' is ambiguous
list[a]=tot;
^
0_0_25189060_25990.cpp:5:5: note: candidates are: int list [1005]
int list[N],dis[N],hx[N],hy[N],px[N],py[N],tot,pre[N],pr[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_25189060_25990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_25189060_25990.cpp:21:18: error: reference to 'list' is ambiguous
cun[tot].next=list[b];
^
0_0_25189060_25990.cpp:5:5: note: candidates are: int list [1005]
int list[N],dis[N],hx[N],hy[N],px[N],py[N],tot,pre[N],pr[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_25189060_25990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_25189060_25990.cpp:23:4: error: reference to 'list' is ambiguous
list[b]=tot;
^
0_0_25189060_25990.cpp:5:5: note: candidates are: int list [1005]
int list[N],dis[N],hx[N],hy[N],px[N],py[N],tot,pre[N],pr[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_25189060_25990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_25189060_25990.cpp: In function 'int spfa(int, int)':
0_0_25189060_25990.cpp:48:14: error: reference to 'list' is ambiguous
for(int i=list[k];i;i=cun[i].next)
^
0_0_25189060_25990.cpp:5:5: note: candidates are: int list [1005]
int list[N],dis[N],hx[N],hy[N],px[N],py[N],tot,pre[N],pr[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_25189060_25990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_25189060_25990.cpp: In function 'void clear()':
0_0_25189060_25990.cpp:91:11: error: reference to 'list' is ambiguous
memset(list,0,sizeof(list));
^
0_0_25189060_25990.cpp:5:5: note: candidates are: int list [1005]
int list[N],dis[N],hx[N],hy[N],px[N],py[N],tot,pre[N],pr[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_25189060_25990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_25189060_25990.cpp:91:25: error: reference to 'list' is ambiguous
memset(list,0,sizeof(list));
^
0_0_25189060_25990.cpp:5:5: note: candidates are: int list [1005]
int list[N],dis[N],hx[N],hy[N],px[N],py[N],tot,pre[N],pr[N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_25189060_25990.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_25189060_25990.cpp: In function 'int main()':
0_0_25189060_25990.cpp:108:21: error: reference to 'map' is ambiguous
scanf("%c",&map[i][j]);
^
0_0_25189060_25990.cpp:6:6: note: candidates are: char map [205][205]
char map[205][205];
^
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_25189060_25990.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_25189060_25990.cpp:109:12: error: reference to 'map' is ambiguous
if(map[i][j]=='H') {hx[count]=i; hy[count++]=j;}
^
0_0_25189060_25990.cpp:6:6: note: candidates are: char map [205][205]
char map[205][205];
^
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_25189060_25990.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_25189060_25990.cpp:110:12: error: reference to 'map' is ambiguous
if(map[i][j]=='m') {px[kk]=i; py[kk++]=j;}
^
0_0_25189060_25990.cpp:6:6: note: candidates are: char map [205][205]
char map[205][205];
^
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_25189060_25990.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
^
|