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_36696168_5794.cpp: In function 'void bfs(int)':
0_0_36696168_5794.cpp:30:1: error: reference to 'queue' is ambiguous
 queue[0][0]=x;
 ^
0_0_36696168_5794.cpp:10:79: note: candidates are: int queue [100005][2]
 int map[258][258],dis[258][258],fdis[20][20],dp[maxm][19],have[20][3],idx,m,n,queue[100005][2],b[4][2]={0,1,1,0,-1,0,0,-1};
                                                                               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_36696168_5794.cpp:7:
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_36696168_5794.cpp:31:1: error: reference to 'queue' is ambiguous
 queue[0][1]=y;
 ^
0_0_36696168_5794.cpp:10:79: note: candidates are: int queue [100005][2]
 int map[258][258],dis[258][258],fdis[20][20],dp[maxm][19],have[20][3],idx,m,n,queue[100005][2],b[4][2]={0,1,1,0,-1,0,0,-1};
                                                                               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_36696168_5794.cpp:7:
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_36696168_5794.cpp:34:3: error: reference to 'queue' is ambiguous
 x=queue[begin][0];
   ^
0_0_36696168_5794.cpp:10:79: note: candidates are: int queue [100005][2]
 int map[258][258],dis[258][258],fdis[20][20],dp[maxm][19],have[20][3],idx,m,n,queue[100005][2],b[4][2]={0,1,1,0,-1,0,0,-1};
                                                                               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_36696168_5794.cpp:7:
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_36696168_5794.cpp:35:3: error: reference to 'queue' is ambiguous
 y=queue[begin][1];
   ^
0_0_36696168_5794.cpp:10:79: note: candidates are: int queue [100005][2]
 int map[258][258],dis[258][258],fdis[20][20],dp[maxm][19],have[20][3],idx,m,n,queue[100005][2],b[4][2]={0,1,1,0,-1,0,0,-1};
                                                                               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_36696168_5794.cpp:7:
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_36696168_5794.cpp:48:1: error: reference to 'queue' is ambiguous
 queue[end][0]=xx;
 ^
0_0_36696168_5794.cpp:10:79: note: candidates are: int queue [100005][2]
 int map[258][258],dis[258][258],fdis[20][20],dp[maxm][19],have[20][3],idx,m,n,queue[100005][2],b[4][2]={0,1,1,0,-1,0,0,-1};
                                                                               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_36696168_5794.cpp:7:
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_36696168_5794.cpp:49:1: error: reference to 'queue' is ambiguous
 queue[end][1]=yy;
 ^
0_0_36696168_5794.cpp:10:79: note: candidates are: int queue [100005][2]
 int map[258][258],dis[258][258],fdis[20][20],dp[maxm][19],have[20][3],idx,m,n,queue[100005][2],b[4][2]={0,1,1,0,-1,0,0,-1};
                                                                               ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from 0_0_36696168_5794.cpp:7:
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-11-23 03:21:17, Gzip enabled