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_15881252_7526.cpp: In function 'int BFS()':
0_0_15881252_7526.cpp:84:14: error: reference to 'queue' is ambiguous
         if(E[queue[K]].flag==1)    return E[queue[K]].step;
              ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^
0_0_15881252_7526.cpp:84:45: error: reference to 'queue' is ambiguous
         if(E[queue[K]].flag==1)    return E[queue[K]].step;
                                             ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^
0_0_15881252_7526.cpp:85:21: error: reference to 'queue' is ambiguous
         for(i=0;i<E[queue[K]].total;i++)
                     ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^
0_0_15881252_7526.cpp:87:18: error: reference to 'queue' is ambiguous
             if(E[queue[K]].step+1<E[E[queue[K]].mem[i]].step)
                  ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^
0_0_15881252_7526.cpp:87:39: error: reference to 'queue' is ambiguous
             if(E[queue[K]].step+1<E[E[queue[K]].mem[i]].step)
                                       ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^
0_0_15881252_7526.cpp:89:21: error: reference to 'queue' is ambiguous
                 E[E[queue[K]].mem[i]].step=E[queue[K]].step+1;
                     ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^
0_0_15881252_7526.cpp:89:46: error: reference to 'queue' is ambiguous
                 E[E[queue[K]].mem[i]].step=E[queue[K]].step+1;
                                              ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^
0_0_15881252_7526.cpp:90:17: error: reference to 'queue' is ambiguous
                 queue[Key++]=E[queue[K]].mem[i];
                 ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^
0_0_15881252_7526.cpp:90:32: error: reference to 'queue' is ambiguous
                 queue[Key++]=E[queue[K]].mem[i];
                                ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^
0_0_15881252_7526.cpp: In function 'int main()':
0_0_15881252_7526.cpp:149:17: error: reference to 'queue' is ambiguous
                 queue[Key++]=key;
                 ^
0_0_15881252_7526.cpp:32:5: note: candidates are: int queue [6066]
 int queue[6066];                            
     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_15881252_7526.cpp:10:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_queue.h:96:11: note:                 template<class _Tp, class _Sequence> class std::queue
     class queue
           ^


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-12-02 16:38:40, Gzip enabled