0_0_21416586_31677.cpp: In function 'void init()':
0_0_21416586_31677.cpp:43:32: error: 'INF' was not declared in this scope
} else dis[i][j] = INF;
^
0_0_21416586_31677.cpp: In function 'int dfs(int, int*, int*)':
0_0_21416586_31677.cpp:56:9: error: reference to 'list' is ambiguous
list[d] = i;
^
0_0_21416586_31677.cpp:7:5: note: candidates are: int list [1010]
int list[1010];
^
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_21416586_31677.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_21416586_31677.cpp: In function 'void solve()':
0_0_21416586_31677.cpp:73:12: error: reference to 'list' is ambiguous
if(list[i] == 0) puts("east");
^
0_0_21416586_31677.cpp:7:5: note: candidates are: int list [1010]
int list[1010];
^
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_21416586_31677.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_21416586_31677.cpp:74:17: error: reference to 'list' is ambiguous
else if(list[i] == 1) puts("north");
^
0_0_21416586_31677.cpp:7:5: note: candidates are: int list [1010]
int list[1010];
^
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_21416586_31677.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_21416586_31677.cpp:75:17: error: reference to 'list' is ambiguous
else if(list[i] == 2) puts("south");
^
0_0_21416586_31677.cpp:7:5: note: candidates are: int list [1010]
int list[1010];
^
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_21416586_31677.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>
^
|