F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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>
           ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-27 00:50:28, Gzip enabled