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_25412090_15311.cpp: In function 'int main()':
0_0_25412090_15311.cpp:42:13: error: reference to 'queue' is ambiguous
             queue[0] = j-1;
             ^
0_0_25412090_15311.cpp:7:11: note: candidates are: int queue [50010]
 int n, k, queue[N];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
                 from 0_0_25412090_15311.cpp:1:
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_25412090_15311.cpp:44:39: error: reference to 'queue' is ambiguous
                 while(head<tail && dy(queue[head], queue[head+1], j)>=p[i].w*dx(queue[head], queue[head+1]))
                                       ^
0_0_25412090_15311.cpp:7:11: note: candidates are: int queue [50010]
 int n, k, queue[N];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
                 from 0_0_25412090_15311.cpp:1:
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_25412090_15311.cpp:44:52: error: reference to 'queue' is ambiguous
                 while(head<tail && dy(queue[head], queue[head+1], j)>=p[i].w*dx(queue[head], queue[head+1]))
                                                    ^
0_0_25412090_15311.cpp:7:11: note: candidates are: int queue [50010]
 int n, k, queue[N];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
                 from 0_0_25412090_15311.cpp:1:
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_25412090_15311.cpp:44:81: error: reference to 'queue' is ambiguous
                 while(head<tail && dy(queue[head], queue[head+1], j)>=p[i].w*dx(queue[head], queue[head+1]))
                                                                                 ^
0_0_25412090_15311.cpp:7:11: note: candidates are: int queue [50010]
 int n, k, queue[N];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
                 from 0_0_25412090_15311.cpp:1:
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_25412090_15311.cpp:44:94: error: reference to 'queue' is ambiguous
                 while(head<tail && dy(queue[head], queue[head+1], j)>=p[i].w*dx(queue[head], queue[head+1]))
                                                                                              ^
0_0_25412090_15311.cpp:7:11: note: candidates are: int queue [50010]
 int n, k, queue[N];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
                 from 0_0_25412090_15311.cpp:1:
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_25412090_15311.cpp:46:23: error: reference to 'queue' is ambiguous
                 pos = queue[head];
                       ^
0_0_25412090_15311.cpp:7:11: note: candidates are: int queue [50010]
 int n, k, queue[N];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
                 from 0_0_25412090_15311.cpp:1:
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_25412090_15311.cpp:51:29: error: reference to 'queue' is ambiguous
                         x = queue[tail-1];
                             ^
0_0_25412090_15311.cpp:7:11: note: candidates are: int queue [50010]
 int n, k, queue[N];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
                 from 0_0_25412090_15311.cpp:1:
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_25412090_15311.cpp:52:29: error: reference to 'queue' is ambiguous
                         y = queue[tail];
                             ^
0_0_25412090_15311.cpp:7:11: note: candidates are: int queue [50010]
 int n, k, queue[N];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
                 from 0_0_25412090_15311.cpp:1:
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_25412090_15311.cpp:56:21: error: reference to 'queue' is ambiguous
                     queue[++tail] = z;
                     ^
0_0_25412090_15311.cpp:7:11: note: candidates are: int queue [50010]
 int n, k, queue[N];
           ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/queue:64:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:85,
                 from 0_0_25412090_15311.cpp:1:
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-26 08:47:42, Gzip enabled