0_0_15598042_26498.cpp: In function 'void add(int, int)':
0_0_15598042_26498.cpp:33:16: error: reference to 'list' is ambiguous
D[tot].next=list[a];
^
0_0_15598042_26498.cpp:25:5: note: candidates are: int list [1000100]
int list[MAXN],tot;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from 0_0_15598042_26498.cpp:8:
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_15598042_26498.cpp:34:4: error: reference to 'list' is ambiguous
list[a]=tot;
^
0_0_15598042_26498.cpp:25:5: note: candidates are: int list [1000100]
int list[MAXN],tot;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from 0_0_15598042_26498.cpp:8:
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_15598042_26498.cpp: In function 'int dfs(int)':
0_0_15598042_26498.cpp:38:13: error: reference to 'list' is ambiguous
for(int k=list[a];k;k=D[k].next)
^
0_0_15598042_26498.cpp:25:5: note: candidates are: int list [1000100]
int list[MAXN],tot;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from 0_0_15598042_26498.cpp:8:
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_15598042_26498.cpp: In function 'int main()':
0_0_15598042_26498.cpp:64:14: error: reference to 'list' is ambiguous
memset(list,0,sizeof(list));
^
0_0_15598042_26498.cpp:25:5: note: candidates are: int list [1000100]
int list[MAXN],tot;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from 0_0_15598042_26498.cpp:8:
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_15598042_26498.cpp:64:28: error: reference to 'list' is ambiguous
memset(list,0,sizeof(list));
^
0_0_15598042_26498.cpp:25:5: note: candidates are: int list [1000100]
int list[MAXN],tot;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from 0_0_15598042_26498.cpp:8:
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>
^
|