0_0_35328169_6888.cpp: In function 'void add(int, int, int, int)':
0_0_35328169_6888.cpp:24:18: error: reference to 'list' is ambiguous
E[tot].next = list[a];
^
0_0_35328169_6888.cpp:15:5: note: candidates are: int list [2505]
int list[N_node] ,tot;
^
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_35328169_6888.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_35328169_6888.cpp:25:4: error: reference to 'list' is ambiguous
list[a] = tot;
^
0_0_35328169_6888.cpp:15:5: note: candidates are: int list [2505]
int list[N_node] ,tot;
^
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_35328169_6888.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_35328169_6888.cpp: In function 'bool spfa(int, int, int)':
0_0_35328169_6888.cpp:43:19: error: reference to 'list' is ambiguous
for(int k = list[tou] ;k ;k = E[k].next)
^
0_0_35328169_6888.cpp:15:5: note: candidates are: int list [2505]
int list[N_node] ,tot;
^
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_35328169_6888.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_35328169_6888.cpp: In function 'int main()':
0_0_35328169_6888.cpp:88:14: error: reference to 'list' is ambiguous
memset(list ,0 ,sizeof(list));
^
0_0_35328169_6888.cpp:15:5: note: candidates are: int list [2505]
int list[N_node] ,tot;
^
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_35328169_6888.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_35328169_6888.cpp:88:30: error: reference to 'list' is ambiguous
memset(list ,0 ,sizeof(list));
^
0_0_35328169_6888.cpp:15:5: note: candidates are: int list [2505]
int list[N_node] ,tot;
^
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_35328169_6888.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>
^
|