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